aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4ff_decoder_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-09-23 21:19:41 +0200
committerMax Kellermann <max@duempel.org>2010-09-23 21:19:41 +0200
commit0955f33a86177ab8f0e43df0eb730aa81a1cfbb1 (patch)
tree7cee31d61a933cd00c089c93129b23d53633f158 /src/decoder/mp4ff_decoder_plugin.c
parenta016fb4048314e301d1ab85a116f1e4ce203c56d (diff)
downloadmpd-0955f33a86177ab8f0e43df0eb730aa81a1cfbb1.tar.gz
mpd-0955f33a86177ab8f0e43df0eb730aa81a1cfbb1.tar.xz
mpd-0955f33a86177ab8f0e43df0eb730aa81a1cfbb1.zip
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.
Diffstat (limited to '')
-rw-r--r--src/decoder/mp4ff_decoder_plugin.c4
1 files changed, 4 insertions, 0 deletions
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;
}