Switch to unified view

a/upmpd/ohplaylist.cxx b/upmpd/ohplaylist.cxx
...
...
434
    const MpdStatus &mpds = m_dev->getMpdStatusNoUpdate();
434
    const MpdStatus &mpds = m_dev->getMpdStatusNoUpdate();
435
    data.addarg("Value", SoapHelp::i2s(mpds.songid));
435
    data.addarg("Value", SoapHelp::i2s(mpds.songid));
436
    return UPNP_E_SUCCESS;
436
    return UPNP_E_SUCCESS;
437
}
437
}
438
438
439
bool OHPlaylist::cacheFind(const string& uri, string& meta)
440
{
441
    auto cached = m_metacache.find(uri);
442
    if (cached != m_metacache.end()) {
443
        meta = cached->second;
444
        return true;
445
    }
446
    return false;
447
}
448
439
// Report the uri and metadata for a given track id. 
449
// Report the uri and metadata for a given track id. 
440
// Returns a 800 fault code if the given id is not in the playlist. 
450
// Returns a 800 fault code if the given id is not in the playlist. 
441
int OHPlaylist::ohread(const SoapArgs& sc, SoapData& data)
451
int OHPlaylist::ohread(const SoapArgs& sc, SoapData& data)
442
{
452
{
443
    int id;
453
    int id;