aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/upnp')
-rw-r--r--src/db/upnp/Directory.cxx2
-rw-r--r--src/db/upnp/Object.hxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx
index 8930890f3..ecb11ab45 100644
--- a/src/db/upnp/Directory.cxx
+++ b/src/db/upnp/Directory.cxx
@@ -168,7 +168,7 @@ protected:
break;
case 'r':
if (!m_path.back().compare("res")) {
- m_tobj.m_props["url"] += str;
+ m_tobj.url = str;
}
break;
case 'u':
diff --git a/src/db/upnp/Object.hxx b/src/db/upnp/Object.hxx
index 91a219534..d158ab6f7 100644
--- a/src/db/upnp/Object.hxx
+++ b/src/db/upnp/Object.hxx
@@ -51,6 +51,7 @@ public:
std::string m_id; // ObjectId
std::string m_pid; // Parent ObjectId
+ std::string url;
std::string m_title; // dc:title. Directory name for a container.
Type type;
ItemClass item_class;
@@ -81,6 +82,7 @@ public:
{
m_id.clear();
m_pid.clear();
+ url.clear();
m_title.clear();
type = Type::UNKNOWN;
item_class = ItemClass::UNKNOWN;