Commit 30e28806 authored by Max Kellermann's avatar Max Kellermann

tag: added support for MusicBrainz tags

Added all important id tags from the MusicBrainz wiki: http://musicbrainz.org/doc/MusicBrainzTag This should automatically enable its suport in the vorbis and flac decoder plugins.
parent 0dc1b4a4
...@@ -3,6 +3,7 @@ ver 0.15 - (200?/??/??) ...@@ -3,6 +3,7 @@ ver 0.15 - (200?/??/??)
- parse Icy-Metadata - parse Icy-Metadata
* tags: * tags:
- support the "album artist" tag - support the "album artist" tag
- support MusicBrainz tags
- parse RVA2 tags in mp3 files - parse RVA2 tags in mp3 files
* decoders: * decoders:
- audiofile: streaming support added - audiofile: streaming support added
......
...@@ -53,7 +53,13 @@ const char *mpdTagItemKeys[TAG_NUM_OF_ITEM_TYPES] = { ...@@ -53,7 +53,13 @@ const char *mpdTagItemKeys[TAG_NUM_OF_ITEM_TYPES] = {
"Composer", "Composer",
"Performer", "Performer",
"Comment", "Comment",
"Disc" "Disc",
/* MusicBrainz tags from http://musicbrainz.org/doc/MusicBrainzTag */
[TAG_MUSICBRAINZ_ARTISTID] = "MUSICBRAINZ_ARTISTID",
[TAG_MUSICBRAINZ_ALBUMID] = "MUSICBRAINZ_ALBUMID",
[TAG_MUSICBRAINZ_ALBUMARTISTID] = "MUSICBRAINZ_ALBUMARTISTID",
[TAG_MUSICBRAINZ_TRACKID] = "MUSICBRAINZ_TACKID",
}; };
int8_t ignoreTagItems[TAG_NUM_OF_ITEM_TYPES]; int8_t ignoreTagItems[TAG_NUM_OF_ITEM_TYPES];
......
...@@ -39,6 +39,12 @@ enum tag_type { ...@@ -39,6 +39,12 @@ enum tag_type {
TAG_ITEM_PERFORMER, TAG_ITEM_PERFORMER,
TAG_ITEM_COMMENT, TAG_ITEM_COMMENT,
TAG_ITEM_DISC, TAG_ITEM_DISC,
TAG_MUSICBRAINZ_ARTISTID,
TAG_MUSICBRAINZ_ALBUMID,
TAG_MUSICBRAINZ_ALBUMARTISTID,
TAG_MUSICBRAINZ_TRACKID,
TAG_NUM_OF_ITEM_TYPES TAG_NUM_OF_ITEM_TYPES
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment