Commit 9b0ce181 authored by Rasmus Steinke's avatar Rasmus Steinke Committed by Max Kellermann

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.
parent 9e55a08d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment