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.
This commit is contained in:
Rasmus Steinke 2009-01-15 00:42:35 +01:00 committed by Max Kellermann
parent 9cc373d62d
commit 3e87e4f3ab

View File

@ -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)