Switch to unified view

a/src/upmpd.cxx b/src/upmpd.cxx
...
...
129
                               UpSong *ups)
129
                               UpSong *ups)
130
{
130
{
131
    UPnPClient::UPnPDirContent dirc;
131
    UPnPClient::UPnPDirContent dirc;
132
    if (!dirc.parse(didl) || dirc.m_items.size() == 0) {
132
    if (!dirc.parse(didl) || dirc.m_items.size() == 0) {
133
        LOGERR("checkContentFormat: didl parse failed\n");
133
        LOGERR("checkContentFormat: didl parse failed\n");
134
        if ((m_options & upmpdNoContentFormatCheck)) {
135
            noMetaUpSong(ups);
136
            return true;
137
        } else {
134
        return false;
138
            return false;
139
        }
135
    }
140
    }
136
    UPnPClient::UPnPDirObject& dobj = *dirc.m_items.begin();
141
    UPnPClient::UPnPDirObject& dobj = *dirc.m_items.begin();
137
142
138
    if ((m_options & upmpdNoContentFormatCheck)) {
143
    if ((m_options & upmpdNoContentFormatCheck)) {
139
        LOGERR("checkContentFormat: format check disabled\n");
144
        LOGERR("checkContentFormat: format check disabled\n");