[Slim-Checkins] r10066 - in /trunk/server: Changelog6.html
Slim/Formats/MP3.pm
dsully at svn.slimdevices.com
dsully at svn.slimdevices.com
Wed Sep 27 15:42:02 PDT 2006
Author: dsully
Date: Wed Sep 27 15:42:01 2006
New Revision: 10066
URL: http://svn.slimdevices.com?rev=10066&view=rev
Log:
Bug: 4071, possibly 4236 as well.
Description: Windows is dumb. Need binmode($fh). Also, don't append APE tags if the hash is empty.
Modified:
trunk/server/Changelog6.html
trunk/server/Slim/Formats/MP3.pm
Modified: trunk/server/Changelog6.html
URL: http://svn.slimdevices.com/trunk/server/Changelog6.html?rev=10066&r1=10065&r2=10066&view=diff
==============================================================================
--- trunk/server/Changelog6.html (original)
+++ trunk/server/Changelog6.html Wed Sep 27 15:42:01 2006
@@ -3,6 +3,7 @@
<ul>
<li>Bug Fixes:
<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=2985">#2985</a> - WMA transcoded to WAV truncated (not gapless)</li>
+ <li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4071">#4071</a> - Band Names in mp3 Tags don't always work</li>
<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4077">#4077</a> - CUE files YEAR and GENRE not always working</li>
<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4140">#4140</a> - Problem with the scanner parsing cue sheets in6.5b3</li>
<li><a href="http://bugs.slimdevices.com/show_bug.cgi?id=4142">#4142</a> - ExBrowse3 does not work with Safari</li>
Modified: trunk/server/Slim/Formats/MP3.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Formats/MP3.pm?rev=10066&r1=10065&r2=10066&view=diff
==============================================================================
--- trunk/server/Slim/Formats/MP3.pm (original)
+++ trunk/server/Slim/Formats/MP3.pm Wed Sep 27 15:42:01 2006
@@ -121,6 +121,9 @@
open(my $fh, $file) or return {};
+ # Bug: 4071 - Windows is lame.
+ binmode($fh);
+
# This is somewhat messy - Use a customized version of MP3::Info's
# get_mp3tag, as we need custom logic.
my (%tags, %ape) = ();
@@ -135,7 +138,9 @@
# Always add on any APE tags at the end. It may have ReplayGain data.
if (MP3::Info::_parse_ape_tag($fh, -s $file, \%ape)) {
- %tags = (%tags, %ape);
+ if (scalar keys %ape) {
+ %tags = (%tags, %ape);
+ }
}
# Now fetch the audio header information.
More information about the checkins
mailing list