Switch to unified view

a/upmpd/ohplaylist.cxx b/upmpd/ohplaylist.cxx
...
...
548
        ok = ok && sc.getString("Metadata", &metadata);
548
        ok = ok && sc.getString("Metadata", &metadata);
549
549
550
    LOGDEB("OHPlaylist::insert: afterid " << afterid << " Uri " <<
550
    LOGDEB("OHPlaylist::insert: afterid " << afterid << " Uri " <<
551
           uri << " Metadata " << metadata << endl);
551
           uri << " Metadata " << metadata << endl);
552
    if (ok) {
552
    if (ok) {
553
        UpSong metaformpd;
554
        uMetaToUpSong(metadata, &metaformpd);
553
        int id = m_dev->m_mpdcli->insertAfterId(uri, afterid);
555
        int id = m_dev->m_mpdcli->insertAfterId(uri, afterid, metaformpd);
554
        if ((ok = (id != -1))) {
556
        if ((ok = (id != -1))) {
555
            m_metacache[uri] = metadata;
557
            m_metacache[uri] = metadata;
556
            m_cachedirty = true;
558
            m_cachedirty = true;
557
            m_mpdqvers = -1;
559
            m_mpdqvers = -1;
558
            data.addarg("NewId", SoapHelp::i2s(id));
560
            data.addarg("NewId", SoapHelp::i2s(id));