summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorSimon Persson <simon@flaskpost.me>2021-03-24 20:58:56 +0100
committerSimon Persson <simon@flaskpost.me>2021-03-24 20:59:54 +0100
commit7dd2dce6ad7d75b9529afbfffc7b065b948646d4 (patch)
tree3be294e44e95dd4c4dceb09f8cacbe5956cb043f /src/db
parenta7ba10423df80dbbe2e5959c5135f899f454fd5d (diff)
Support new tags in proxy plugin
Add support for the following tags when using the proxy database plugin: WORK CONDUCTOR LABEL GROUPING MUSICBRAINZ_WORKID COMPOSERSORT ENSEMBLE MOVEMENT MOVEMENTNUMBER LOCATION
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/ProxyDatabasePlugin.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx
index be3f81814..a352e3344 100644
--- a/src/db/plugins/ProxyDatabasePlugin.cxx
+++ b/src/db/plugins/ProxyDatabasePlugin.cxx
@@ -189,6 +189,20 @@ static constexpr struct {
#if LIBMPDCLIENT_CHECK_VERSION(2,12,0)
{ TAG_ALBUM_SORT, MPD_TAG_ALBUM_SORT },
#endif
+#if LIBMPDCLIENT_CHECK_VERSION(2,17,0)
+ { TAG_WORK, MPD_TAG_WORK },
+ { TAG_CONDUCTOR, MPD_TAG_CONDUCTOR },
+ { TAG_LABEL, MPD_TAG_LABEL },
+ { TAG_GROUPING, MPD_TAG_GROUPING },
+ { TAG_MUSICBRAINZ_WORKID, MPD_TAG_MUSICBRAINZ_WORKID },
+#endif
+#if LIBMPDCLIENT_CHECK_VERSION(2,20,0)
+ { TAG_COMPOSERSORT, MPD_TAG_COMPOSER_SORT },
+ { TAG_ENSEMBLE, MPD_TAG_ENSEMBLE },
+ { TAG_MOVEMENT, MPD_TAG_MOVEMENT },
+ { TAG_MOVEMENTNUMBER, MPD_TAG_MOVEMENTNUMBER },
+ { TAG_LOCATION, MPD_TAG_LOCATION },
+#endif
{ TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT }
};