diff --git a/NEWS b/NEWS index c1deceb9a..1b0fc1e59 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.20.21 (not yet released) * database - proxy: add "password" setting + - proxy: support tags "ArtistSort", "AlbumArtistSort", "AlbumSort" ver 0.20.20 (2018/05/22) * protocol diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index bd6da2f01..b3d2d0a05 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -170,6 +170,13 @@ static constexpr struct { #if LIBMPDCLIENT_CHECK_VERSION(2,10,0) { TAG_MUSICBRAINZ_RELEASETRACKID, MPD_TAG_MUSICBRAINZ_RELEASETRACKID }, +#endif +#if LIBMPDCLIENT_CHECK_VERSION(2,11,0) + { TAG_ARTIST_SORT, MPD_TAG_ARTIST_SORT }, + { TAG_ALBUM_ARTIST_SORT, MPD_TAG_ALBUM_ARTIST_SORT }, +#endif +#if LIBMPDCLIENT_CHECK_VERSION(2,12,0) + { TAG_ALBUM_SORT, MPD_TAG_ALBUM_SORT }, #endif { TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT } };