Bugzilla – Bug 498
FLAC CUESHEET index points past one hour seem to wrap
Last modified: 2011-03-16 04:39:17 UTC
I'm using a nightly of around 10th August 2004, on a Gentoo Linux server. I've taken the plunge of converting my collection to FLAC+CUESHEETs and have noticed an oddity that I believe is due to a bug in cuesheet parsing. Using the cuesheet attached, together with its associated FLAC file, I try to play track 12 ("Adventures [Unaltered]"), I see the following in the log when I have d_formats turned on (tracks earlier than this play fine): .... 2004-08-12 22:22:36.6420 Using command for conversion: "/usr/bin/flac" -dcs -- force-raw-format --endian=little --sign=signed --skip=58:10.93 --until=9:08.76 "/home/media/Music/FLAC-CUE/Various Artists/2001 - A Space Odyssey/Various Artists - 2001 - A Space Odyssey.flac" & | 2004-08-12 22:22:36.6640 Streaming with format: wav Various Artists - 2001 - A Space Odyssey.flac: ERROR, --until value is before -- skip point .... SlimServer then skips to some odd part of the album (you may think it's all odd, but that's just personal opinion!). Notice the error, and the --skip and --until values. These seem odd, but when you look at the appropriate part of the cuesheet I think the problem can be seen: ... TRACK 12 AUDIO TITLE "Adventures [Unaltered]" PERFORMER "Gyorgy Ligeti" INDEX 00 02:51:52 INDEX 01 58:10:70 TRACK 13 AUDIO TITLE "Dialogue Montage" PERFORMER "HAL 9000" INDEX 00 02:51:54 INDEX 01 69:08:57 ... Here the 58:10.93 used for --skip seems to correspond with the start of track 12 OK, but the --until of 9:08.76 is wrong. Suspiciously, it seems like its the correct value modulo 1hour. I've tried this on another longer-than-one-hour-album and I get similar problems, so I don't believe it's this cuesheet in particular. I'm not using a cuesheet embedded in the FLAC file, as I had a couple of different problems when I tried that - I suspect that feature may be too experimental currently. If you need any further information then just ask; keep up the good work - FLAC+CUESHEETs seem to be very nearly there now you are bundling a working FLAC binary.
Created attachment 98 [details] CUESHEET illustrating the 1 hour wrapping problem This is the full cuesheet for the album, if that helps. I get similar problems on other albums longer than an hour, so I don't think it's anything peculiar to this cuesheet.
PS the cuesheet is created with EAC, if that's relevant.
Just noticed a checkin that seems to be for the same problem. I'll try this tomorrow and see whether that clears up my problem - I'm confident it will, having eyeballed the patch. Cheers.
Have now checked new new nightly and this seems to have fixed my problem; thanks for fixing it before I reported it!. Stuart.
This bug has been fixed in the latest release of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.