--- SlimServer_6_3_x_v2006-06-17/Slim/Formats/MP3.pm 2006-06-17 01:11:08.000000000 -0700 +++ SlimServer_6_3_x_v2006-06-19/Slim/Formats/MP3.pm 2006-06-19 09:10:29.000000000 -0700 @@ -97,10 +97,12 @@ # Also try and get an APE tag, which may have ReplayGain data. my $tags = MP3::Info::get_mp3tag($fh, 2, undef, 1); - if (!scalar keys %$tags) { + # begin local mods + if (!scalar keys %$tags || !defined(MP3::Info::get_mp3tag($fh, 2))) { - $tags = MP3::Info::get_mp3tag($fh, 1); + $tags = MP3::Info::get_mp3tag($fh, 1, undef, 1); } + # end local mods # Now fetch the audio header information. my $info = MP3::Info::get_mp3info($fh);