From 8e815bec9f2c3e2b088bd9652edeb351541763f1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 30 May 2010 22:29:48 +0200 Subject: tag_ape: support album artist, MusicBrainz tags I took these tag names from a MusePack sample file I got from a user. These are not documented in the APE specification: http://wiki.hydrogenaudio.org/index.php?title=APE_key People seem to be using undocumented extensions to the specification anyway, and the best we can do is attempt to support them. --- src/tag_ape.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/tag_ape.c') diff --git a/src/tag_ape.c b/src/tag_ape.c index 9a07c3ac..e8d39603 100644 --- a/src/tag_ape.c +++ b/src/tag_ape.c @@ -29,11 +29,18 @@ static const char *const ape_tag_names[] = { [TAG_TITLE] = "title", [TAG_ARTIST] = "artist", + [TAG_ARTIST_SORT] = "artistsort", [TAG_ALBUM] = "album", + [TAG_ALBUM_ARTIST] = "album artist", + [TAG_ALBUM_ARTIST_SORT] = "albumartistsort", [TAG_COMMENT] = "comment", [TAG_GENRE] = "genre", [TAG_TRACK] = "track", - [TAG_DATE] = "year" + [TAG_DATE] = "year", + [TAG_MUSICBRAINZ_ARTISTID] = "musicbrainz_artistid", + [TAG_MUSICBRAINZ_ALBUMID] = "musicbrainz_albumid", + [TAG_MUSICBRAINZ_ALBUMARTISTID] = "musicbrainz_albumartistid", + [TAG_MUSICBRAINZ_TRACKID] = "musicbrainz_trackid", }; static struct tag * -- cgit v1.2.3