From 9328558fc7245613a620ea77e26d19861a23f1ce Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sun, 30 May 2010 22:29:48 +0200
Subject: [PATCH] tag_ape: support album artist

I took this tag name from a MusePack sample file I got from a user.
It is 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.
---
 NEWS          | 2 ++
 src/tag_ape.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/NEWS b/NEWS
index ef5cc0091..fe0ec6e6b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
 ver 0.15.11 (2010/??/??)
+* tags:
+  - ape: support album artist
 
 
 ver 0.15.10 (2010/05/30)
diff --git a/src/tag_ape.c b/src/tag_ape.c
index e3b848bfc..6d8e0c743 100644
--- a/src/tag_ape.c
+++ b/src/tag_ape.c
@@ -29,6 +29,7 @@ static const char *const ape_tag_names[] = {
 	[TAG_ITEM_TITLE] = "title",
 	[TAG_ITEM_ARTIST] = "artist",
 	[TAG_ITEM_ALBUM] = "album",
+	[TAG_ITEM_ALBUM_ARTIST] = "album artist",
 	[TAG_ITEM_COMMENT] = "comment",
 	[TAG_ITEM_GENRE] = "genre",
 	[TAG_ITEM_TRACK] = "track",