Switch to unified view

a/src/ohplaylist.cxx b/src/ohplaylist.cxx
...
...
551
551
552
    LOGDEB("OHPlaylist::insert: afterid " << afterid << " Uri " <<
552
    LOGDEB("OHPlaylist::insert: afterid " << afterid << " Uri " <<
553
           uri << " Metadata " << metadata << endl);
553
           uri << " Metadata " << metadata << endl);
554
    if (ok) {
554
    if (ok) {
555
        UpSong metaformpd;
555
        UpSong metaformpd;
556
        uMetaToUpSong(metadata, &metaformpd);
556
        if (!uMetaToUpSong(metadata, &metaformpd)) {
557
            LOGERR("OHPlaylist::insert: failed to parse metadata " << " Uri " 
558
                   << uri << " Metadata " << metadata << endl);
559
            return UPNP_E_INTERNAL_ERROR;
560
        }
557
        int id = m_dev->m_mpdcli->insertAfterId(uri, afterid, metaformpd);
561
        int id = m_dev->m_mpdcli->insertAfterId(uri, afterid, metaformpd);
558
        if ((ok = (id != -1))) {
562
        if ((ok = (id != -1))) {
559
            m_metacache[uri] = metadata;
563
            m_metacache[uri] = metadata;
560
            m_cachedirty = true;
564
            m_cachedirty = true;
561
            m_mpdqvers = -1;
565
            m_mpdqvers = -1;