From 9b0ce18144f8d25bea54cb649508a5268c92efa6 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Thu, 15 Jan 2009 00:42:35 +0100 Subject: 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. --- src/decoder/oggvorbis_plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/decoder/oggvorbis_plugin.c b/src/decoder/oggvorbis_plugin.c index e7df60326..63722bdd8 100644 --- a/src/decoder/oggvorbis_plugin.c +++ b/src/decoder/oggvorbis_plugin.c @@ -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) -- cgit v1.2.3