diff options
author | Max Kellermann <max@duempel.org> | 2010-05-30 22:48:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-30 22:55:02 +0200 |
commit | 017d61a1aa853ee5e16ae0a84fd6d256f502ae55 (patch) | |
tree | be61429db6f1ab2117df90e26ce8bcb38964ad89 | |
parent | 4028d03a6e601d176f9ab877720e38b22e1ad0ae (diff) | |
download | mpd-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.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/decoder/mp4ff_decoder_plugin.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 * |