From: epg <> Date: Wed, 27 Apr 2005 03:49:35 +0000 (+0000) Subject: (get_tags): http://us.xiph.org/ogg/vorbis/doc/v-comment.html says the X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/c164432546d765e8508d3dee93f101c69bb0937b?ds=inline;hp=217996b6b377ce6f7af3bc66a473ccda5e508b8e (get_tags): http://us.xiph.org/ogg/vorbis/doc/v-comment.html says the keys are supposed to be case insensitive. --- diff --git a/flac2mp3 b/flac2mp3 index f497d6b..6a496bf 100755 --- a/flac2mp3 +++ b/flac2mp3 @@ -107,18 +107,18 @@ sub get_tags { ($tag, $value) = split(/=/, $_, 2); - if (/^ARTIST=/) { + if (/^ARTIST=/i) { $artist = $value; - } elsif (/^ALBUM=/) { + } elsif (/^ALBUM=/i) { $album = $value; - } elsif (/^DATE=/) { + } elsif (/^DATE=/i) { $date = $value; - } elsif (/^ARTIST\[/) { + } elsif (/^ARTIST\[/i) { push(@$artists, $value); # Intentionally don't match the = on this one, to support the # TITLE[1] .. TITLE[n] tag style. - } elsif (/^TITLE/) { + } elsif (/^TITLE/i) { push(@$titles, $value); } }