diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2014-09-27 18:38:23 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-27 19:54:12 +0200 |
commit | 5525ea45a4e1765db110a8ca5abbc3ca5e66a89a (patch) | |
tree | b228305534b8a5de0a78d6b890826f9680d90032 /src/output | |
parent | 3120958a17f1fcbfc90d0c2ee2ede9e31c4cf09d (diff) | |
download | mpd-5525ea45a4e1765db110a8ca5abbc3ca5e66a89a.tar.gz mpd-5525ea45a4e1765db110a8ca5abbc3ca5e66a89a.tar.xz mpd-5525ea45a4e1765db110a8ca5abbc3ca5e66a89a.zip |
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
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/RoarOutputPlugin.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/output/plugins/RoarOutputPlugin.cxx b/src/output/plugins/RoarOutputPlugin.cxx index 04836cc46..508e147f0 100644 --- a/src/output/plugins/RoarOutputPlugin.cxx +++ b/src/output/plugins/RoarOutputPlugin.cxx @@ -349,6 +349,9 @@ roar_tag_convert(TagType type, bool *is_uuid) case TAG_MUSICBRAINZ_TRACKID: *is_uuid = true; return "HASH"; + case TAG_MUSICBRAINZ_RELEASETRACKID: + *is_uuid = true; + return "HASH"; default: return nullptr; |