From 5525ea45a4e1765db110a8ca5abbc3ca5e66a89a Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Sat, 27 Sep 2014 18:38:23 +0200 Subject: Add MusicBrainz' Release Track Id tag The Release Track Id uniquely identifies a recording on a release - that is, even if a recording appears twice on a release (meaning that the combination of recording and release id are not enough to figure out which one it is), the release track id will allow differentiating the two. The tag names are taken from https://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping --- src/db/plugins/ProxyDatabasePlugin.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db') diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index 2bd04e3ad..fba72210d 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -166,6 +166,10 @@ static constexpr struct { { TAG_MUSICBRAINZ_ALBUMARTISTID, MPD_TAG_MUSICBRAINZ_ALBUMARTISTID }, { TAG_MUSICBRAINZ_TRACKID, MPD_TAG_MUSICBRAINZ_TRACKID }, +#if LIBMPDCLIENT_CHECK_VERSION(2,10,0) + { TAG_MUSICBRAINZ_RELEASETRACKID, + MPD_TAG_MUSICBRAINZ_RELEASETRACKID }, +#endif { TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT } }; -- cgit v1.2.3