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
This commit is contained in:
Simon Persson 2021-03-24 20:58:56 +01:00
parent a7ba10423d
commit 7dd2dce6ad

View File

@ -188,6 +188,20 @@ static constexpr struct {
#endif
#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 }
};