oggvorbis: 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 9e55a08d79
commit 9b0ce18144

View File

@ -168,7 +168,9 @@ vorbis_parse_comment(struct tag *tag, const char *comment)
if (vorbis_copy_comment(tag, comment, VORBIS_COMMENT_TRACK_KEY,
TAG_ITEM_TRACK) ||
vorbis_copy_comment(tag, comment, VORBIS_COMMENT_DISC_KEY,
TAG_ITEM_DISC))
TAG_ITEM_DISC) ||
vorbis_copy_comment(tag, comment, "album artist",
TAG_ITEM_ALBUM_ARTIST))
return;
for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; ++i)