From 0aeec9059053bf724942831a45e07d43b99b5955 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 30 Jun 2010 21:22:13 +0200
Subject: [PATCH] decoder/mp4ff: support tags "albumartist", "band"

I'm not sure if mapping "band" to TAG_PERFORMER is correct, but it
might be better than nothing.
---
 NEWS                       | 2 ++
 src/decoder/mp4ff_plugin.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/NEWS b/NEWS
index fe0ec6e6b..6f499856d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 ver 0.15.11 (2010/??/??)
 * tags:
   - ape: support album artist
+* decoders:
+  - mp4ff: support tags "albumartist", "band"
 
 
 ver 0.15.10 (2010/05/30)
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index a330763ca..5e1251d82 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -344,11 +344,13 @@ static const char *const mp4ff_tag_names[TAG_NUM_OF_ITEM_TYPES] = {
 	[TAG_ITEM_TITLE] = "title",
 	[TAG_ITEM_ARTIST] = "artist",
 	[TAG_ITEM_ALBUM] = "album",
+	[TAG_ITEM_ALBUM_ARTIST] = "albumartist",
 	[TAG_ITEM_TRACK] = "track",
 	[TAG_ITEM_DISC] = "disc",
 	[TAG_ITEM_GENRE] = "genre",
 	[TAG_ITEM_DATE] = "date",
 	[TAG_ITEM_COMPOSER] = "writer",
+	[TAG_ITEM_PERFORMER] = "band",
 };
 
 static struct tag *