diff options
author | Max Kellermann <max@duempel.org> | 2009-01-24 20:02:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-24 20:02:55 +0100 |
commit | 30e288067529080b9d8ac124af27b7f9522ab152 (patch) | |
tree | b4d8d911bb0f8607b84121cfa9c5287882e35c8a /src/tag.c | |
parent | 0dc1b4a44ede7316867e3803af1444a6190d7aad (diff) |
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.
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 8 |
1 files changed, 7 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]; |