]> diplodocus.org Git - flac-archive/blobdiff - flac2mp3
(get_tags): http://us.xiph.org/ogg/vorbis/doc/v-comment.html says the
[flac-archive] / flac2mp3
index f497d6b..6a496bf 100755 (executable)
--- 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);
         }
     }