Bugzilla – Bug 489
Single Album FLAC w/cuesheet fails to play tracks at > 60 minutes
Last modified: 2008-12-18 11:55:04 UTC
I discovered this bug while try to play later tracks from a single album flac with an embedded cuesheet. Tracks that start or end at > 60 mins get flac commands generated with incorrect --skip and --until parameters. I traced the problem down to the fracSecToMinSec() function in Slim/Utils/Misc.pm. Currently this function rolls-over the hour when passed fractional seconds > 3600, i.e. fracSecToMinSec(3850) returns "4:10.00" instead of "64:10.00". I imagine this bug could cause problems elsewhere as well. I checked the latest nightly (2004-08-07) and the problem still exists.
Created attachment 95 [details] Patch to fix Here is a patch that seems to work just fine for me, I apologize if the patch isn't in the preffered format.
Fixed for the next nightly release.
Can you test and close this bug if it's working for you?
Tested in the 8/17 nightly. It works beautifully. Closing this bug.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.