aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-06-30 21:22:13 +0200
committerMax Kellermann <max@duempel.org>2010-06-30 21:22:13 +0200
commit0aeec9059053bf724942831a45e07d43b99b5955 (patch)
tree16715a41617bb2a122d54481974db53b5d7d9392
parentcfcd84655c5988716229d3f8e8e30949cb1708ac (diff)
downloadmpd-0aeec9059053bf724942831a45e07d43b99b5955.tar.gz
mpd-0aeec9059053bf724942831a45e07d43b99b5955.tar.xz
mpd-0aeec9059053bf724942831a45e07d43b99b5955.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.
-rw-r--r--NEWS2
-rw-r--r--src/decoder/mp4ff_plugin.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fe0ec6e6b..6f499856d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
ver 0.15.11 (2010/??/??)
* tags:
- ape: support album artist
+* decoders:
+ - mp4ff: support tags "albumartist", "band"
ver 0.15.10 (2010/05/30)
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index a330763ca..5e1251d82 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -344,11 +344,13 @@ static const char *const mp4ff_tag_names[TAG_NUM_OF_ITEM_TYPES] = {
[TAG_ITEM_TITLE] = "title",
[TAG_ITEM_ARTIST] = "artist",
[TAG_ITEM_ALBUM] = "album",
+ [TAG_ITEM_ALBUM_ARTIST] = "albumartist",
[TAG_ITEM_TRACK] = "track",
[TAG_ITEM_DISC] = "disc",
[TAG_ITEM_GENRE] = "genre",
[TAG_ITEM_DATE] = "date",
[TAG_ITEM_COMPOSER] = "writer",
+ [TAG_ITEM_PERFORMER] = "band",
};
static struct tag *