From 0955f33a86177ab8f0e43df0eb730aa81a1cfbb1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Sep 2010 21:19:41 +0200 Subject: decoder/mp4ff: support more variations of "album artist" According to the mantis bug report 2847, there are several possible variations of the "album artist" tag: - "album artist" - "album_artist" - "albumartist" This patch adds support for the latter two. --- src/decoder/mp4ff_decoder_plugin.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/decoder') diff --git a/src/decoder/mp4ff_decoder_plugin.c b/src/decoder/mp4ff_decoder_plugin.c index d72fa02ac..ce4848409 100644 --- a/src/decoder/mp4ff_decoder_plugin.c +++ b/src/decoder/mp4ff_decoder_plugin.c @@ -362,6 +362,10 @@ mp4ff_tag_name_parse(const char *name) if (type == TAG_NUM_OF_ITEM_TYPES) type = tag_name_parse_i(name); + if (g_ascii_strcasecmp(name, "albumartist") == 0 || + g_ascii_strcasecmp(name, "album_artist") == 0) + return TAG_ALBUM_ARTIST; + return type; } -- cgit v1.2.3