Switch to unified view

a/src/upmpdutils.cxx b/src/upmpdutils.cxx
...
...
299
    }
299
    }
300
    ups->tracknum = dobj.getprop("upnp:originalTrackNumber");
300
    ups->tracknum = dobj.getprop("upnp:originalTrackNumber");
301
    return true;
301
    return true;
302
}
302
}
303
303
304
void noMetaUpSong(UpSong *ups)
305
{
306
    ups->artist = "Unknown";
307
    ups->album = "Unknown";
308
    ups->title = "Unknown (streaming?)";
309
    ups->duration_secs = 0;
310
    ups->tracknum = "0";
311
    return;
312
}
313
304
bool uMetaToUpSong(const string& metadata, UpSong *ups)
314
bool uMetaToUpSong(const string& metadata, UpSong *ups)
305
{
315
{
306
    if (ups == 0) {
316
    if (ups == 0) {
307
        return false;
317
        return false;
308
    }
318
    }