aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Object.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-11 01:36:08 +0100
committerMax Kellermann <max@duempel.org>2014-01-11 01:36:08 +0100
commit44a65fc5de15e793cdf261081481c3a357652fe6 (patch)
tree7f53074a202a1e7e3839f3fe4c53c1304664b52f /src/db/upnp/Object.hxx
parentf031eb1ef22373f94838b7e3357f2913ced6db71 (diff)
downloadmpd-44a65fc5de15e793cdf261081481c3a357652fe6.tar.gz
mpd-44a65fc5de15e793cdf261081481c3a357652fe6.tar.xz
mpd-44a65fc5de15e793cdf261081481c3a357652fe6.zip
db/upnp/Object: add attribute "url"
Don't store in the std::map.
Diffstat (limited to '')
-rw-r--r--src/db/upnp/Object.hxx2
1 files changed, 2 insertions, 0 deletions
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;