aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-06-30 21:55:03 +0200
committerMax Kellermann <max@duempel.org>2010-06-30 21:55:03 +0200
commitec89ce5a8a3a609c5ecd725560304c9686726fa7 (patch)
tree943cd33836fa41b16ebb8dfa662dcc94fe5f1c92
parent34415bf0b60738b22099023af5cd2cd1d202bf80 (diff)
decoder/mp4ff: support tag "album artist"
We already supported "albumartist", but it seems some folks also use "album artist" (with a space).
-rw-r--r--NEWS2
-rw-r--r--src/decoder/mp4ff_plugin.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6e1c4107..1a8cf236 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ ver 0.15.11 (2010/??/??)
* tags:
- ape: support album artist
* decoders:
- - mp4ff: support tags "albumartist", "band"
+ - mp4ff: support tags "album artist", "albumartist", "band"
- mikmod: fix memory leak
* playlist: emit IDLE_OPTIONS when resetting single mode
* listen: make get_remote_uid() work on BSD
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index d3408049..d5afe084 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -341,6 +341,7 @@ mp4_decode(struct decoder *mpd_decoder, struct input_stream *input_stream)
}
static const char *const mp4ff_tag_names[TAG_NUM_OF_ITEM_TYPES] = {
+ [TAG_ITEM_ALBUM_ARTIST] = "album artist",
[TAG_ITEM_COMPOSER] = "writer",
[TAG_ITEM_PERFORMER] = "band",
};