You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/TTMp32Gme/Build/FileHandler.pm
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,8 @@ sub cleanup_filename {
143
143
$filename =~ s/[^A-Za-z0-9_\-\.]//g;
144
144
$filename =~ s/\.\./\./g;
145
145
$filename =~ s/\.$//g;
146
-
_utf8_off($filename); #prevent perl from messing up filenames with non-ascii characters because of perl open() bug: https://github.com/perl/perl5/issues/15883
146
+
_utf8_off($filename)
147
+
; #prevent perl from messing up filenames with non-ascii characters because of perl open() bug: https://github.com/perl/perl5/issues/15883
if ( !$album_data{'album_year'} && $info->year() ) {
223
223
$album_data{'album_year'} = $info->get_year();
@@ -240,7 +240,7 @@ sub createLibraryEntry {
240
240
my$mp3 = MP3::Tag->new( $album->{$fileId} );
241
241
$mp3->get_tags();
242
242
243
-
debug( Dumper($mp3), $debug > 2);
243
+
debug( Dumper($mp3), $debug > 2);
244
244
my$id3v2_tagdata = $mp3->{ID3v2};
245
245
if ($id3v2_tagdata) {
246
246
my$apic = $id3v2_tagdata->get_frame("APIC");
@@ -271,9 +271,9 @@ sub createLibraryEntry {
271
271
"WARNING: id3 tag missing or incomplete for $album->{$fileId}.\nPlease add an id3v2 tag containing at least album, title and track number to your mp3 file in order to get proper album and track info."
0 commit comments