aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-10 22:01:09 +0100
committerMax Kellermann <max@duempel.org>2014-01-10 22:59:16 +0100
commit70e5ab3fdee865f03eeaffcdd96155b67d5520c0 (patch)
treeeeb73c201190d38dcb7c63bae47ba5ab3df8f523 /src/db
parentf4490f6918a1b481c535b1b63179edb78382e02e (diff)
downloadmpd-70e5ab3fdee865f03eeaffcdd96155b67d5520c0.tar.gz
mpd-70e5ab3fdee865f03eeaffcdd96155b67d5520c0.tar.xz
mpd-70e5ab3fdee865f03eeaffcdd96155b67d5520c0.zip
db/upnp/Directory: don't log unknown items
Diffstat (limited to 'src/db')
-rw-r--r--src/db/upnp/Directory.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx
index fb57cdad7..4a6f20185 100644
--- a/src/db/upnp/Directory.cxx
+++ b/src/db/upnp/Directory.cxx
@@ -134,20 +134,12 @@ protected:
m_tobj.m_props["upnp:class"].c_str();
auto item_class = ParseItemClass(item_class_name);
if (item_class == UPnPDirObject::ItemClass::UNKNOWN) {
- PLOGINF("checkobjok: found object of unknown class: [%s]\n",
- item_class_name);
ok = false;
} else {
m_tobj.item_class = item_class;
}
}
- if (!ok) {
- PLOGINF("checkobjok: skip: id [%s] pid [%s] clss [%s] tt [%s]\n",
- m_tobj.m_id.c_str(), m_tobj.m_pid.c_str(),
- m_tobj.m_props["upnp:class"].c_str(),
- m_tobj.m_title.c_str());
- }
return ok;
}