Subject: | Error occurs if the mp3 filename contains blanks |
If the mp3 filename contains some blanks like
"My artist - my song.mp3"
the get_mp3tag doesn't worka and returns the following error:
Argument "My artist - my song.mp3" isn't numeric in numeric eq (==) at
/usr/lib/perl5/site_perl/5.8.5/MP3/Info.pm line 499.
This happens whith the following code:
my $filename = "My artist - my song.mp3";
my $mp3 = MP3::Info->new($filename);
my $mp3tag = $mp3->get_mp3tag($filename);