From ec89ce5a8a3a609c5ecd725560304c9686726fa7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jun 2010 21:55:03 +0200 Subject: [PATCH] decoder/mp4ff: support tag "album artist" We already supported "albumartist", but it seems some folks also use "album artist" (with a space). --- NEWS | 2 +- src/decoder/mp4ff_plugin.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6e1c41076..1a8cf2364 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 d34080493..d5afe084b 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", };