aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-13 23:43:20 +0100
committerMax Kellermann <max@duempel.org>2009-01-13 23:43:20 +0100
commit2af1742fcf99e32129c55334a08fba22f28dcbc7 (patch)
tree7801327bc22a90e082e0de9d0307064e4ca19eb9
parent14527174593fcdfcc6ab67d6e4ff5af456431e18 (diff)
downloadmpd-2af1742fcf99e32129c55334a08fba22f28dcbc7.tar.gz
mpd-2af1742fcf99e32129c55334a08fba22f28dcbc7.tar.xz
mpd-2af1742fcf99e32129c55334a08fba22f28dcbc7.zip
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.
-rw-r--r--src/tag.c1
-rw-r--r--src/tag.h1
2 files changed, 2 insertions, 0 deletions
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,