aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-05-30 22:48:44 +0200
committerMax Kellermann <max@duempel.org>2010-05-30 22:55:02 +0200
commit017d61a1aa853ee5e16ae0a84fd6d256f502ae55 (patch)
treebe61429db6f1ab2117df90e26ce8bcb38964ad89
parent4028d03a6e601d176f9ab877720e38b22e1ad0ae (diff)
downloadmpd-017d61a1aa853ee5e16ae0a84fd6d256f502ae55.tar.gz
mpd-017d61a1aa853ee5e16ae0a84fd6d256f502ae55.tar.xz
mpd-017d61a1aa853ee5e16ae0a84fd6d256f502ae55.zip
decoder/mp4ff: support tags "albumartist", "band"
I'm not sure if mapping "band" to TAG_PERFORMER is correct, but it might be better than nothing.
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--src/decoder/mp4ff_decoder_plugin.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cd3bbfb7f..510f257f3 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,7 @@ ver 0.16 (20??/??/??)
- wavpack: activate 32 bit support
- wavpack: allow more than 2 channels
- mp4ff: rename plugin "mp4" to "mp4ff"
+ - mp4ff: support tags "albumartist", "band"
* encoders:
- twolame: new encoder plugin based on libtwolame
- flac: new encoder plugin based on libFLAC
diff --git a/src/decoder/mp4ff_decoder_plugin.c b/src/decoder/mp4ff_decoder_plugin.c
index 35d5a9597..cd9daf699 100644
--- a/src/decoder/mp4ff_decoder_plugin.c
+++ b/src/decoder/mp4ff_decoder_plugin.c
@@ -341,11 +341,13 @@ static const char *const mp4ff_tag_names[TAG_NUM_OF_ITEM_TYPES] = {
[TAG_TITLE] = "title",
[TAG_ARTIST] = "artist",
[TAG_ALBUM] = "album",
+ [TAG_ALBUM_ARTIST] = "albumartist",
[TAG_TRACK] = "track",
[TAG_DISC] = "disc",
[TAG_GENRE] = "genre",
[TAG_DATE] = "date",
[TAG_COMPOSER] = "writer",
+ [TAG_PERFORMER] = "band",
};
static struct tag *