aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRasmus Steinke <rasi13@gmx.de>2009-01-15 00:42:35 +0100
committerMax Kellermann <max@duempel.org>2009-01-15 22:45:29 +0100
commit3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef (patch)
tree0067cc6ab3db4ab5665071aba7e690c1aa5ecf4a /src
parent9cc373d62d702188e6b30bacb517a9e3ac0448a6 (diff)
downloadmpd-3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef.tar.gz
mpd-3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef.tar.xz
mpd-3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef.zip
flac: map "Album Artist" to "AlbumArtist"
This patch allows mpd to recognise the albumartist tag in the way foobar2000 and others write it to files.
Diffstat (limited to '')
-rw-r--r--src/decoder/_flac_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c
index 5a16e7748..63dc6e145 100644
--- a/src/decoder/_flac_common.c
+++ b/src/decoder/_flac_common.c
@@ -151,7 +151,9 @@ flac_parse_comment(struct tag *tag,
if (flac_copy_comment(tag, entry, VORBIS_COMMENT_TRACK_KEY,
TAG_ITEM_TRACK) ||
flac_copy_comment(tag, entry, VORBIS_COMMENT_DISC_KEY,
- TAG_ITEM_DISC))
+ TAG_ITEM_DISC) ||
+ flac_copy_comment(tag, entry, "album artist",
+ TAG_ITEM_ALBUM_ARTIST))
return;
for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; ++i)