Bugzilla – Bug 13198
Scanner crashes on a flac file
Last modified: 2009-10-05 14:31:02 UTC
A full rescan with the noweb-sqlite changes merged into 7.4/trunk crashes for me quite early on in the scan with the error reported below. This could potentially be the first flac file that it has encountered, and has scanned without problems in previous releases. The problem appears to be that the bitrate is being read incorrectly. Foobar2000 reports the bitrate as 522Kbps when I play this file. [08:21:56.7342] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Gavin Bryars\2005-10-01 - The Sinking of the Titanic Live\01 - The Sinking of the Titanic.flac [08:21:56.7402] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Out of range value adjusted for column 'bitrate' at row 1 [for Statement "INSERT INTO tracks (bitrate,audio_offset,drm,audio_size,vbr_scale,replay_peak,remote,titlesort,audio,timestamp,replay_gain,url,lossless,channels,samplerate,secs,filesize,content_type,tracknum,titlesearch,title,year) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" with ParamValues: 0='-399143', 1=0, 2=0, 3=304231841, 4=1, 5='0.363251', 6=0, 7='SINKING OF THE TITANIC', 8=1, 9=1221432452, 10='+5.23', 11='file:///M:/Music/Live%20Concerts/Electronic/Gavin%20Bryars/2005-10-01%20-%20The%20Sinking%20of%20the%20Titanic%20Live/01%20-%20The%20Sinking%20of%20the%20Titanic.flac', 12=1, 13=2, 14=44100, 15=4663.026, 16=304231841, 17='flc', 18=1, 19='SINKING OF THE TITANIC', 20='The Sinking Of The Titanic', 21=2005] [08:21:56.7409] Slim::Schema::Storage::throw_exception (82) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (P:/Music/SlimServer/trunk/server/Slim/Schema/Storage.pm line 82) frame 1: Slim::Schema::Storage::throw_exception (P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 722) frame 2: DBIx::Class::Storage::DBI::__ANON__ (P:/Music/SlimServer/trunk/server/Slim/Schema.pm line 998) frame 3: Slim::Schema::newTrack (P:/Music/SlimServer/trunk/server/Slim/Utils/Scanner.pm line 342) frame 4: Slim::Utils::Scanner::scanDirectory (P:/Music/SlimServer/trunk/server/Slim/Music/MusicFolderScan.pm line 79) frame 5: Slim::Music::MusicFolderScan::startScan (P:/Music/SlimServer/trunk/server/Slim/Music/Import.pm line 542) frame 6: Slim::Music::Import::runImporter (P:/Music/SlimServer/trunk/server/Slim/Music/Import.pm line 362) frame 7: Slim::Music::Import::runScan (P:/Music/SlimServer/trunk/server/scanner.pl line 293) frame 8: (eval) (P:/Music/SlimServer/trunk/server/scanner.pl line 287) frame 9: main::main (P:/Music/SlimServer/trunk/server/scanner.pl line 438) [08:21:56.7565] main::main (299) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::st execute failed: Out of range value adjusted for column 'bitrate' at row 1 [for Statement "INSERT INTO tracks (bitrate,audio_offset,drm,audio_size,vbr_scale,replay_peak,remote,titlesort,audio,timestamp,replay_gain,url,lossless,channels,samplerate,secs,filesize,content_type,tracknum,titlesearch,title,year) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" with ParamValues: 0='-399143', 1=0, 2=0, 3=304231841, 4=1, 5='0.363251', 6=0, 7='SINKING OF THE TITANIC', 8=1, 9=1221432452, 10='+5.23', 11='file:///M:/Music/Live%20Concerts/Electronic/Gavin%20Bryars/2005-10-01%20-%20The%20Sinking%20of%20the%20Titanic%20Live/01%20-%20The%20Sinking%20of%20the%20Titanic.flac', 12=1, 13=2, 14=44100, 15=4663.026, 16=304231841, 17='flc', 18=1, 19='SINKING OF THE TITANIC', 20='The Sinking Of The Titanic', 21=2005] at P:/Music/SlimServer/trunk/server/Slim/Schema/Storage.pm line 86 ]
Could you upload the first 50K of that file? Hopefully that will be enough to debug the issue.
Created attachment 5552 [details] First 50Kb of file that crashes scanner
I moved the file out of my music library folder and did a full rescan. It got a bit further (successfully processed some other flac files) but then crashed on another one in the same way.
Hmm OK perhaps just the headers aren't enough to reproduce the problem, I get a correctly calculated bitrate from this chunk. Do you have a small-ish file that has the problem? I guess that might be hard to find... :(
I have tried moving several failed files sideways and rescanning. It's failed so far on about 5 different files - all of them being large flac files.
Anything special about them other than that they are large? I'll test a whole-album FLAC.
No, nothing special about them. One of them was track 1 of 3; the other 2 tracks appeared to scan fine after, and they appeared to have the same tags. Track 1 was the longest song (~50 mins). They've always scanned fine in the past.
Is there anything else I can do to help you find the fix for this problem? Do you want me to upload a file (they are all BIG!), or alternatively if there's some diagnostics I could run on a file myself?
Can you paste the output of metaflac --list for one of these file?
Created attachment 5558 [details] output of metaflac --list
I encoded an hour-long file with the same version of FLAC you used, tried different options with -0, -5, and -8, and couldn't reproduce the bitrate issue. I think I will need to see one of your files. :(
Is it okay to upload one to this bug report, or would you like me to transfer it some other means?
It's too big for Bugzilla. How about http://www.yousendit.com/ ?
Bah never mind, they charge for > 100M.
I put in a workaround so at least the files will scan. They will also spit out an error message in the log so you can find all the bad ones. Maybe one will be small enough.
I've now managed to scan my whole library, minus 19 long flac files. All of these are large (over 40 mins, 250MB). Some I've ripped very recently with EAC -> FLAC 1.2.1, others were ripped with 1.1.4. [09:08:41.7515] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Gavin Bryars\2005-10-01 - The Sinking of the Titanic Live\01 - The Sinking of the Titanic.flac [09:07:18.4263] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Leaves\Volume 30\01 - Part 1.flac [09:12:54.1927] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Leaves\Volume 39\01 - Part 1.flac [09:11:00.0140] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Leaves\Volume 50\01 - Part 1.flac [09:11:23.1586] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Leaves\Volume 60\01 - Part 1.flac [09:10:15.2791] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Leaves\volume 75\01 - Part 1.flac [09:07:22.8356] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 09\01 - Part One.flac [09:10:19.6401] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 17\03 - Set Two.flac [09:10:27.7702] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 45\03 - Part 3.flac [09:11:26.9430] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 55\02 - Part Two.flac [09:10:52.8758] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 67\01 - Part 1.flac [09:06:08.3215] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Electronic\Tangerine Dream\Tangerine Tree\Volume 92\01 - Part One.flac [09:10:03.4697] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Live Concerts\Progressive Rock\Steven Wilson\2003-01-24\17 - Questin and Answer Session.flac [08:12:55.8999] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Phil's Music\Electronic\Klaus Schulze\Jubilee Edition\Volume 1 - Tradition & Vision\01 - Tradition And Vision.flac [08:12:56.2271] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Phil's Music\Electronic\Klaus Schulze\Jubilee Edition\Volume 4 - Borrowed Time\01 - Borrowed Time.flac [08:19:37.7862] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Phil's Music\Progressive Rock\Mike Oldfield\Amarok [2000 HDCD Remaster]\01 - Amarok.flac [08:21:32.3189] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Phil's Music\Psychedelic\Syd Barrett\Beyond Rhyme Nor Reason\CD5\01 - Sound Opinions WXRT Chicago 2001-01-03.flac [08:28:43.6000] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Surround Sound\Jeff Wayne\War Of The Worlds\disc 1.cue [08:28:44.8813] Slim::Utils::Scanner::scanDirectory (328) Scanning: M:\Music\Surround Sound\The Beatles\Love\Love.dts.flac
I tried decoding one of the files to .wav, then re-encoding. Still crashes the scanner.
Hmm, what if you encode only a 1-minute chunk of that WAV?
Saved the first minute as flac and it scanned fine.
Argh, can you give me the exact flac command-line you used to encode?
When ripping using EAC: P:\Music\FLAC\bin\flac.exe -8 -T "artist=%a" -T "title=%t" -T "album=%g" -T "date=%y" -T "tracknumber=%n" -T "genre=%m" %s NB, other (smaller) songs on the same album ripped in the same way are scanned fine. Not completely related to length of track (or file size), because I have other equally long flac files that are scanning fine too.
Is M:\Music a local drive or a remote share? The FLAC code in Audio::Scan does a stat to determine the file size and uses that to calculate the bitrate. The other file types use seek/tell to determine the file size, so I wonder if it could be getting a bad stat response somehow.
All music is on the same M: partition (local disk).
I took a working long flac file (encoded with 1.1.4), and re-encoded to v1.2.1, and it still scans fine.
I'm going to change the way file size is determined in the next update, it may help.
== Automatic comment from SVN commit #395 to Repository: opensource == https://svn.slimdevices.com/opensource?view=revision&revision=395 Bug 13198 - change the method for determining FLAC bitrate. This may not solve the issue but worth a try as using stat is not the norm here == Modified 4 files total == trunk/Audio-Scan/Changes trunk/Audio-Scan/TODO trunk/Audio-Scan/lib/Audio/Scan.pm trunk/Audio-Scan/src/flac.c
== Automatic comment from SVN commit #28085 to Repository: slim == https://svn.slimdevices.com/slim?view=revision&revision=28085 Audio::Scan 0.28 0.28 2009-08-06 19:00:00 - Bug 13198, Changed the method for determining FLAC bitrate. 0.27 2009-07-26 23:00:00 - Added support for Musepack SV8 files. - Refactored Musepack code to use buffer API, fixes crashes on big-endian platforms. - Added support for reading Musepack track gain and album gain. == Modified 10 files total == 7.4/trunk/server/CPAN/Audio/Scan.pm 7.4/trunk/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/Audio/Scan/Scan.dll 7.4/trunk/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/trunk/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/trunk/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/trunk/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/trunk/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/trunk/server/CPAN/arch/5.8/sparc-linux/auto/Audio/Scan/Scan.so 7.4/trunk/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/trunk/server/modules.conf
OK, new code is in SC, try the latest and let me know.
== Automatic comment from SVN commit #28087 to Repository: slim == https://svn.slimdevices.com/slim?view=revision&revision=28087 r57579@macbookpro (orig r28080): michael | 2009-08-06 02:38:06 -0400 Bug: n/a Description: don't display download URL in web UI, unless we got an update message from SN including that URL. Don't check for downloads unless auto download is enabled. r57580@macbookpro (orig r28081): andy | 2009-08-06 08:49:46 -0400 Fixed Bug 13224 - simplify max mode, make it the default for everything, use it for pad mode. Also added some more tests r57583@macbookpro (orig r28082): andy | 2009-08-06 09:46:00 -0400 Refactor S::W::Graphics to use ImageResizer r57596@macbookpro (orig r28083): mwise | 2009-08-06 11:02:59 -0400 Bug 13265: Should solve the shutdown issue. r57597@macbookpro (orig r28084): mwise | 2009-08-06 11:45:22 -0400 Bug 12962: Additional space at the end of the line caused the readynas init script to break. r57598@macbookpro (orig r28085): andy | 2009-08-06 19:08:08 -0400 Audio::Scan 0.28 0.28 2009-08-06 19:00:00 - Bug 13198, Changed the method for determining FLAC bitrate. 0.27 2009-07-26 23:00:00 - Added support for Musepack SV8 files. - Refactored Musepack code to use buffer API, fixes crashes on big-endian platforms. - Added support for reading Musepack track gain and album gain. r57599@macbookpro (orig r28086): andy | 2009-08-06 19:41:16 -0400 Fixed Bug 13252 - downgrade DBD::mysql to 3.0002 to fix crasher == Modified 27 files total == 7.4/private-branches/baby-cat/ 7.4/private-branches/baby-cat/platforms/debian/squeezebox.init 7.4/private-branches/baby-cat/platforms/readynas/rules 7.4/private-branches/baby-cat/platforms/readynas/squeezebox.init 7.4/private-branches/baby-cat/server/CPAN/Audio/Scan.pm 7.4/private-branches/baby-cat/server/CPAN/DBD/mysql/GetInfo.pm 7.4/private-branches/baby-cat/server/CPAN/DBD/mysql.pm 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/Audio/Scan/Scan.dll 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/mysql.dll 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/sparc-linux/auto/Audio/Scan/Scan.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/baby-cat/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/baby-cat/server/Slim/Utils/ImageResizer.pm 7.4/private-branches/baby-cat/server/Slim/Utils/Update.pm 7.4/private-branches/baby-cat/server/Slim/Web/Graphics.pm 7.4/private-branches/baby-cat/server/modules.conf 7.4/private-branches/baby-cat/tests/t/05resizer.t == Added 2 files total == 7.4/private-branches/baby-cat/tests/data/images/ref/tall-cover-13x100.jpg 7.4/private-branches/baby-cat/tests/data/images/ref/wide-cover-100x12.jpg == Removed 2 files total == 7.4/private-branches/baby-cat/platforms/readynas/CPAN/DBD/ 7.4/private-branches/baby-cat/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/libmysql.dll
== Automatic comment from SVN commit #28088 to Repository: slim == https://svn.slimdevices.com/slim?view=revision&revision=28088 r57579@macbookpro (orig r28080): michael | 2009-08-06 02:38:06 -0400 Bug: n/a Description: don't display download URL in web UI, unless we got an update message from SN including that URL. Don't check for downloads unless auto download is enabled. r57580@macbookpro (orig r28081): andy | 2009-08-06 08:49:46 -0400 Fixed Bug 13224 - simplify max mode, make it the default for everything, use it for pad mode. Also added some more tests r57583@macbookpro (orig r28082): andy | 2009-08-06 09:46:00 -0400 Refactor S::W::Graphics to use ImageResizer r57596@macbookpro (orig r28083): mwise | 2009-08-06 11:02:59 -0400 Bug 13265: Should solve the shutdown issue. r57597@macbookpro (orig r28084): mwise | 2009-08-06 11:45:22 -0400 Bug 12962: Additional space at the end of the line caused the readynas init script to break. r57598@macbookpro (orig r28085): andy | 2009-08-06 19:08:08 -0400 Audio::Scan 0.28 0.28 2009-08-06 19:00:00 - Bug 13198, Changed the method for determining FLAC bitrate. 0.27 2009-07-26 23:00:00 - Added support for Musepack SV8 files. - Refactored Musepack code to use buffer API, fixes crashes on big-endian platforms. - Added support for reading Musepack track gain and album gain. r57599@macbookpro (orig r28086): andy | 2009-08-06 19:41:16 -0400 Fixed Bug 13252 - downgrade DBD::mysql to 3.0002 to fix crasher == Modified 27 files total == 7.4/branches/noweb/ 7.4/branches/noweb/platforms/debian/squeezebox.init 7.4/branches/noweb/platforms/readynas/rules 7.4/branches/noweb/platforms/readynas/squeezebox.init 7.4/branches/noweb/server/CPAN/Audio/Scan.pm 7.4/branches/noweb/server/CPAN/DBD/mysql/GetInfo.pm 7.4/branches/noweb/server/CPAN/DBD/mysql.pm 7.4/branches/noweb/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/Audio/Scan/Scan.dll 7.4/branches/noweb/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/mysql.dll 7.4/branches/noweb/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/branches/noweb/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/branches/noweb/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/branches/noweb/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/branches/noweb/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/branches/noweb/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/branches/noweb/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/branches/noweb/server/CPAN/arch/5.8/sparc-linux/auto/Audio/Scan/Scan.so 7.4/branches/noweb/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/branches/noweb/server/Slim/Utils/ImageResizer.pm 7.4/branches/noweb/server/Slim/Utils/Update.pm 7.4/branches/noweb/server/Slim/Web/Graphics.pm 7.4/branches/noweb/server/modules.conf 7.4/branches/noweb/tests/t/05resizer.t == Added 2 files total == 7.4/branches/noweb/tests/data/images/ref/tall-cover-13x100.jpg 7.4/branches/noweb/tests/data/images/ref/wide-cover-100x12.jpg == Removed 2 files total == 7.4/branches/noweb/platforms/readynas/CPAN/DBD/ 7.4/branches/noweb/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/libmysql.dll
== Automatic comment from SVN commit #28089 to Repository: slim == https://svn.slimdevices.com/slim?view=revision&revision=28089 r57601@macbookpro (orig r28088): andy | 2009-08-06 19:58:37 -0400 r57579@macbookpro (orig r28080): michael | 2009-08-06 02:38:06 -0400 Bug: n/a Description: don't display download URL in web UI, unless we got an update message from SN including that URL. Don't check for downloads unless auto download is enabled. r57580@macbookpro (orig r28081): andy | 2009-08-06 08:49:46 -0400 Fixed Bug 13224 - simplify max mode, make it the default for everything, use it for pad mode. Also added some more tests r57583@macbookpro (orig r28082): andy | 2009-08-06 09:46:00 -0400 Refactor S::W::Graphics to use ImageResizer r57596@macbookpro (orig r28083): mwise | 2009-08-06 11:02:59 -0400 Bug 13265: Should solve the shutdown issue. r57597@macbookpro (orig r28084): mwise | 2009-08-06 11:45:22 -0400 Bug 12962: Additional space at the end of the line caused the readynas init script to break. r57598@macbookpro (orig r28085): andy | 2009-08-06 19:08:08 -0400 Audio::Scan 0.28 0.28 2009-08-06 19:00:00 - Bug 13198, Changed the method for determining FLAC bitrate. 0.27 2009-07-26 23:00:00 - Added support for Musepack SV8 files. - Refactored Musepack code to use buffer API, fixes crashes on big-endian platforms. - Added support for reading Musepack track gain and album gain. r57599@macbookpro (orig r28086): andy | 2009-08-06 19:41:16 -0400 Fixed Bug 13252 - downgrade DBD::mysql to 3.0002 to fix crasher == Modified 20 files total == 7.4/branches/noweb-sqlite/ 7.4/branches/noweb-sqlite/platforms/debian/squeezebox.init 7.4/branches/noweb-sqlite/platforms/readynas/rules 7.4/branches/noweb-sqlite/platforms/readynas/squeezebox.init 7.4/branches/noweb-sqlite/server/CPAN/Audio/Scan.pm 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/Audio/Scan/Scan.dll 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/mysql.dll 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb-sqlite/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/branches/noweb-sqlite/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb-sqlite/server/CPAN/arch/5.8/sparc-linux/auto/Audio/Scan/Scan.so 7.4/branches/noweb-sqlite/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/branches/noweb-sqlite/server/Slim/Utils/ImageResizer.pm 7.4/branches/noweb-sqlite/server/Slim/Utils/Update.pm 7.4/branches/noweb-sqlite/server/Slim/Web/Graphics.pm 7.4/branches/noweb-sqlite/server/modules.conf 7.4/branches/noweb-sqlite/tests/t/05resizer.t == Added 2 files total == 7.4/branches/noweb-sqlite/tests/data/images/ref/tall-cover-13x100.jpg 7.4/branches/noweb-sqlite/tests/data/images/ref/wide-cover-100x12.jpg == Removed 2 files total == 7.4/branches/noweb-sqlite/platforms/readynas/CPAN/DBD/ 7.4/branches/noweb-sqlite/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/libmysql.dll
== Automatic comment from SVN commit #28090 to Repository: slim == https://svn.slimdevices.com/slim?view=revision&revision=28090 r57579@macbookpro (orig r28080): michael | 2009-08-06 02:38:06 -0400 Bug: n/a Description: don't display download URL in web UI, unless we got an update message from SN including that URL. Don't check for downloads unless auto download is enabled. r57580@macbookpro (orig r28081): andy | 2009-08-06 08:49:46 -0400 Fixed Bug 13224 - simplify max mode, make it the default for everything, use it for pad mode. Also added some more tests r57583@macbookpro (orig r28082): andy | 2009-08-06 09:46:00 -0400 Refactor S::W::Graphics to use ImageResizer r57596@macbookpro (orig r28083): mwise | 2009-08-06 11:02:59 -0400 Bug 13265: Should solve the shutdown issue. r57597@macbookpro (orig r28084): mwise | 2009-08-06 11:45:22 -0400 Bug 12962: Additional space at the end of the line caused the readynas init script to break. r57598@macbookpro (orig r28085): andy | 2009-08-06 19:08:08 -0400 Audio::Scan 0.28 0.28 2009-08-06 19:00:00 - Bug 13198, Changed the method for determining FLAC bitrate. 0.27 2009-07-26 23:00:00 - Added support for Musepack SV8 files. - Refactored Musepack code to use buffer API, fixes crashes on big-endian platforms. - Added support for reading Musepack track gain and album gain. r57599@macbookpro (orig r28086): andy | 2009-08-06 19:41:16 -0400 Fixed Bug 13252 - downgrade DBD::mysql to 3.0002 to fix crasher == Modified 27 files total == 7.4/private-branches/fab4/ 7.4/private-branches/fab4/platforms/debian/squeezebox.init 7.4/private-branches/fab4/platforms/readynas/rules 7.4/private-branches/fab4/platforms/readynas/squeezebox.init 7.4/private-branches/fab4/server/CPAN/Audio/Scan.pm 7.4/private-branches/fab4/server/CPAN/DBD/mysql/GetInfo.pm 7.4/private-branches/fab4/server/CPAN/DBD/mysql.pm 7.4/private-branches/fab4/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/Audio/Scan/Scan.dll 7.4/private-branches/fab4/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/mysql.dll 7.4/private-branches/fab4/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/private-branches/fab4/server/CPAN/arch/5.10/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/private-branches/fab4/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/fab4/server/CPAN/arch/5.10/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/fab4/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/fab4/server/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/fab4/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Audio/Scan/Scan.bundle 7.4/private-branches/fab4/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle 7.4/private-branches/fab4/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/fab4/server/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/fab4/server/CPAN/arch/5.8/sparc-linux/auto/Audio/Scan/Scan.so 7.4/private-branches/fab4/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/Audio/Scan/Scan.so 7.4/private-branches/fab4/server/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so 7.4/private-branches/fab4/server/Slim/Utils/ImageResizer.pm 7.4/private-branches/fab4/server/Slim/Utils/Update.pm 7.4/private-branches/fab4/server/Slim/Web/Graphics.pm 7.4/private-branches/fab4/server/modules.conf 7.4/private-branches/fab4/tests/t/05resizer.t == Added 2 files total == 7.4/private-branches/fab4/tests/data/images/ref/tall-cover-13x100.jpg 7.4/private-branches/fab4/tests/data/images/ref/wide-cover-100x12.jpg == Removed 2 files total == 7.4/private-branches/fab4/platforms/readynas/CPAN/DBD/ 7.4/private-branches/fab4/server/CPAN/arch/5.10/MSWin32-x86-multi-thread/auto/DBD/mysql/libmysql.dll
Doesn't appear to have made any difference.
Ugh, I am completely stumped. :(
Well, it used to work before the noweb-sqlite changes were merged, so perhaps compare differences to see what's changed to affect it?
All the file scanning code is new, so that's why. I will test a large file on a Windows box, that's the last thing I have left to try.
Hooray I reproduced it on Windows!
That's good news - I was beginning to think it was something I've done. I'm eagerly awaiting a fix!
== Auto-comment from SVN commit #398 to the opensource repo by andy == == https://svn.slimdevices.com/opensource?view=revision&revision=398 == Fixed bug 13198, totalMS as a float here was broken under Windows for some files
== Auto-comment from SVN commit #28102 to the slim repo by andy == == https://svn.slimdevices.com/slim?view=revision&revision=28102 == Bug 13198 - Audio::Scan 0.29, fix for broken FLAC bitrate calculation on Windows
I can confirm that it appears to be fixed - no errors having rescanned. The reported bitrate in song info page however seems to be different to what I see reported for the same file in other apps. Squeezebox Server reports: 399 kbps VBR Other apps report: 522 kBit/s Perhaps this is the difference between reporting bitrate of the FLAC compressed and uncompressed? I also notice quite a few deprecated warnings during scanning. Are you aware of these: [23:42:54.4305] Carp::Clan::__ANON__ (216) Warning: DBIx::Class::ResultSet::single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at P:/Music/SlimServer/trunk/server/Slim/Schema.pm line 2215
Do a wipe and rescan, that bogus bitrate value is a result of the workaround that was in place. I am aware of that SQL warning, will fix it soon, but it's harmless I think.
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.