Switch to unified view

a/upmpd/ohplaylist.cxx b/upmpd/ohplaylist.cxx
...
...
557
        if ((ok = (id != -1))) {
557
        if ((ok = (id != -1))) {
558
            m_metacache[uri] = metadata;
558
            m_metacache[uri] = metadata;
559
            m_cachedirty = true;
559
            m_cachedirty = true;
560
            m_mpdqvers = -1;
560
            m_mpdqvers = -1;
561
            data.addarg("NewId", SoapHelp::i2s(id));
561
            data.addarg("NewId", SoapHelp::i2s(id));
562
            LOGDEB("OHPlaylist::insert: new id: " << id << endl);
563
        } else {
564
            LOGERR("OHPlaylist::insert: mpd error" << endl);
565
            return UPNP_E_INTERNAL_ERROR;
562
        }
566
        }
563
        LOGDEB("OHPlaylist::insert: new id: " << id << endl);
564
    }
567
    }
565
    maybeWakeUp(ok);
568
    maybeWakeUp(ok);
566
    return ok ? UPNP_E_SUCCESS : UPNP_E_INTERNAL_ERROR;
569
    return ok ? UPNP_E_SUCCESS : UPNP_E_INTERNAL_ERROR;
567
}
570
}
568
571