From 2af1742fcf99e32129c55334a08fba22f28dcbc7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 13 Jan 2009 23:43:20 +0100 Subject: [PATCH] tag: added core support for the "album artist" tag Added TAG_ITEM_ALBUM_ARTIST. With this patch, MPD should be able to read the (inofficial) "ALBUMARTIST" Vorbis comment. Implementations in other decoder plugins will follow soon. --- src/tag.c | 1 + src/tag.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/tag.c b/src/tag.c index e7ce51c15..285afe84c 100644 --- a/src/tag.c +++ b/src/tag.c @@ -44,6 +44,7 @@ static struct { const char *mpdTagItemKeys[TAG_NUM_OF_ITEM_TYPES] = { "Artist", "Album", + "AlbumArtist", "Title", "Track", "Name", diff --git a/src/tag.h b/src/tag.h index 7c7abf50a..a37408819 100644 --- a/src/tag.h +++ b/src/tag.h @@ -29,6 +29,7 @@ enum tag_type { TAG_ITEM_ARTIST, TAG_ITEM_ALBUM, + TAG_ITEM_ALBUM_ARTIST, TAG_ITEM_TITLE, TAG_ITEM_TRACK, TAG_ITEM_NAME,