From 70e5ab3fdee865f03eeaffcdd96155b67d5520c0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Jan 2014 22:01:09 +0100 Subject: db/upnp/Directory: don't log unknown items --- src/db/upnp/Directory.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/db/upnp') 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; } -- cgit v1.2.3