diff options
Diffstat (limited to '')
-rw-r--r-- | src/tag.c | 8 | ||||
-rw-r--r-- | src/tag.h | 6 |
2 files changed, 13 insertions, 1 deletions
@@ -53,7 +53,13 @@ const char *mpdTagItemKeys[TAG_NUM_OF_ITEM_TYPES] = { "Composer", "Performer", "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]; @@ -39,6 +39,12 @@ enum tag_type { TAG_ITEM_PERFORMER, TAG_ITEM_COMMENT, TAG_ITEM_DISC, + + TAG_MUSICBRAINZ_ARTISTID, + TAG_MUSICBRAINZ_ALBUMID, + TAG_MUSICBRAINZ_ALBUMARTISTID, + TAG_MUSICBRAINZ_TRACKID, + TAG_NUM_OF_ITEM_TYPES }; |