diff options
author | Max Kellermann <max@duempel.org> | 2014-01-14 21:36:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-14 22:33:18 +0100 |
commit | 4bcaf5d3064ca8846f8652413b2e0deba80aa624 (patch) | |
tree | 878a2572b645b06d02d678790be096fad72e1d89 /src/db/UpnpDatabasePlugin.cxx | |
parent | 70d3ad3ca1d9b273b56e2efc30b265f3a09f8f96 (diff) | |
download | mpd-4bcaf5d3064ca8846f8652413b2e0deba80aa624.tar.gz mpd-4bcaf5d3064ca8846f8652413b2e0deba80aa624.tar.xz mpd-4bcaf5d3064ca8846f8652413b2e0deba80aa624.zip |
db/upnp: move upnp_tags to Tags.cxx
Diffstat (limited to 'src/db/UpnpDatabasePlugin.cxx')
-rw-r--r-- | src/db/UpnpDatabasePlugin.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx index 92d520bba..da8aba22c 100644 --- a/src/db/UpnpDatabasePlugin.cxx +++ b/src/db/UpnpDatabasePlugin.cxx @@ -24,6 +24,7 @@ #include "upnp/Discovery.hxx" #include "upnp/ContentDirectoryService.hxx" #include "upnp/Directory.hxx" +#include "upnp/Tags.hxx" #include "upnp/Util.hxx" #include "LazyDatabase.hxx" #include "DatabasePlugin.hxx" @@ -50,17 +51,6 @@ static const char *const rootid = "0"; -static const struct tag_table upnp_tags[] = { - { "upnp:artist", TAG_ARTIST }, - { "upnp:album", TAG_ALBUM }, - { "upnp:originalTrackNumber", TAG_TRACK }, - { "upnp:genre", TAG_GENRE }, - { "dc:title", TAG_TITLE }, - - /* sentinel */ - { nullptr, TAG_NUM_OF_ITEM_TYPES } -}; - class UpnpDatabase : public Database { LibUPnP *m_lib; UPnPDeviceDirectory *m_superdir; |