Switch to unified view

a/src/upmpdutils.cxx b/src/upmpdutils.cxx
...
...
401
{
401
{
402
    if (ups == 0)
402
    if (ups == 0)
403
        return false;
403
        return false;
404
404
405
    UPnPDirContent dirc;
405
    UPnPDirContent dirc;
406
    if (!dirc.parse(metadata) && dirc.m_items.size() == 0) {
406
    if (!dirc.parse(metadata) || dirc.m_items.size() == 0) {
407
        return false;
407
        return false;
408
    }
408
    }
409
    UPnPDirObject& dobj = *dirc.m_items.begin();
409
    UPnPDirObject& dobj = *dirc.m_items.begin();
410
410
411
    ups->artist = dobj.f2s("upnp:artist", false);
411
    ups->artist = dobj.f2s("upnp:artist", false);