Bugzilla – Bug 4140
Problem with the scanner parsing cue sheets in6.5b3
Last modified: 2008-12-18 11:11:39 UTC
I've ripped a number of CDs as whole CD images encoded in FLAC format with both internal and external cue sheets, and for the majority of them Slim Server seems to be able to recognize the cue sheet file and add the album to the database properly. For a few, however, the scanner process doesn't seem to be able to read either the cue sheet or the FLAC file and ends up inserting the album into the database with the album and the track titles as simply the name of the file. I turned scanner debugging on and found a number of errors of the following type: Invalid Catalog entry [E:\FLAC2\Jan Garbarek, The Hilliard Ensemble\Officium\singlefile_2006_8_13_20h54m24s.flac] Problem parsing cuesheet metadata block! at C:\Program Files\SlimServer\server\lib/Audio/FLAC/Header.pm line 112. ERROR: FLAC: Couldn't open file: [E:\FLAC2\Jan Garbarek, The Hilliard Ensemble\Officium\singlefile_2006_8_13_20h54m24s.flac] for reading: Bad file descriptor Invalid ISRC code ��� [D:\FLAC\Charlie Haden\Liberation Music Orchestra\singlefile_2006_8_19_11h37m16s.flac] Problem parsing cuesheet metadata block! at C:\Program Files\SlimServer\server\lib/Audio/FLAC/Header.pm line 112. ERROR: FLAC: Couldn't open file: [D:\FLAC\Charlie Haden\Liberation Music Orchestra\singlefile_2006_8_19_11h37m16s.flac] for reading: Bad file descriptor ......... The full log is on the web at http://misc.lemmingstothesea.com/log.txt. An example of a cue sheet that could not be parsed is at http://misc.lemmingstothesea.com/bad.cue. If an errant FLAC file is needed just let me know and I can provide one. Clearly, there is something wrong with either the cue sheet of flac file that is causing the scanner some grief. I am able to play the albums through the Squeezebox if I select them from the music folder, and Foobar has no trouble parsing either the external cue sheet or the one embedded in the flac file. The server version I'm using is: SlimServer Version: 6.5b3 - 9697 - Windows 2000 - EN - cp1252 Perl Version: 5.8.7 MSWin32-x86-multi-thread MySQL Version: 5.0.22-community-nt
Dan will need a sample FLAC file to look at.
The FLAC file matching the cue sheet referenced above can be downloaded from http://misc.lemmingstothesea.com/singlefile_2006_8_13_20h54m24s.flac. The CD was ripped using the latest version of Plextools Professional XL V3.10. The cue sheet is both external and embedded within the FLAC file.
What did you use to add the cue sheet to the FLAC file?
The cue sheet was embedded into the FLAC file by Plextools Professional XL (V3.10) during the ripping process. This should be the most current version of that software.
Fixed in change 9980 This will be in for 6.5.1, which we expect to release in a few weeks. You can grab the 2006-09-23 nightly build in about 12 hours which will also have this fix.
This doesn't appear to be fully fixed in the latest 6.5.1 server (SlimServer Version: 6.5.1 - 10430 - Windows 2000 - EN - cp1252). Many single file FLAC images are still showing all track titles as the name of the CD image file. See http://misc.lemmingstothesea.com/bug4140_image1.png, http://misc.lemmingstothesea.com/bug4140_image2.png. A sample flac file can be found at http://misc.lemmingstothesea.com/singlefile_2006_8_13_21h19m09s.flac. The matching cue sheet can be found at http://misc.lemmingstothesea.com/10,000-Maniacs-MTV-Unplugged.cue.
Fixed in change 11094