Bugzilla – Bug 1285
Slim::Player::Source::songTime($client) returns strange data
Last modified: 2009-09-08 09:14:14 UTC
With a SliMP3, songs always start at 0 but sometimes when using FLAC it goes to 14 seconds and then jumps back to 11 seconds. 2005-04-02 19:07:27:: ON MODE play TIME 14.4745011329651 DURATION 14.64 2005-04-02 19:07:27:: ON MODE play TIME 14.4815711975098 DURATION 14.64 2005-04-02 19:07:27:: ON MODE play TIME 14.5480921268463 DURATION 14.64 2005-04-02 19:07:27:: ON MODE play TIME 11.66065 DURATION 14.64 2005-04-02 19:07:27:: ON MODE play TIME 11.66065 DURATION 14.64 2005-04-02 19:07:27:: ON MODE play TIME 11.66065 DURATION 14.64 With Softsqueeze 2, when starting to play it returns some strange value for a second then starts from 0. 2005-04-02 19:12:42:: ON MODE stop TIME 0 DURATION 272.143673469388 2005-04-02 19:12:42:: ON MODE stop TIME 0 DURATION 272.143673469388 2005-04-02 19:12:42:: ON MODE play TIME 8 DURATION 16.6133333333333 2005-04-02 19:12:42:: ON MODE play TIME 8 DURATION 16.6133333333333 2005-04-02 19:12:42:: ON MODE play TIME 8 DURATION 16.6133333333333 2005-04-02 19:12:43:: ON MODE play TIME 8 DURATION 16.6133333333333 2005-04-02 19:12:43:: ON MODE play TIME 8 DURATION 16.6133333333333 2005-04-02 19:12:43:: ON MODE play TIME 0 DURATION 16.6133333333333 2005-04-02 19:12:43:: ON MODE play TIME 0 DURATION 16.6133333333333 2005-04-02 19:12:44:: ON MODE play TIME 0 DURATION 16.6133333333333
Fred: this bug was assinged to the wrong product. is it still an issue?
Fred?
Yes, this is still the case. This is a FLAC file on the latest Squeezebox: 2005-06-11 11:21:54:: ON MODE play TIME 16 DURATION 16.6133333333333 INDEX 0 2005-06-11 11:21:54:: ON MODE play TIME 16 DURATION 14.64 INDEX 1 2005-06-11 11:21:54:: ON MODE play TIME 16 DURATION 14.64 INDEX 1 2005-06-11 11:21:55:: ON MODE play TIME 16 DURATION 14.64 INDEX 1 2005-06-11 11:21:55:: ON MODE play TIME 0 DURATION 14.64 INDEX 1 For 1 or 2 seconds in between songs, the playlist index has moved from 0 to 1, so has the duration, but the time is still reporting the end of the last song...
It looks like we're not resetting the elapsed time in source.pm. Fred, could you turn on d_source and show that output at the same time?
Created attachment 545 [details] Log of d_source & CLI Here you go. First the slim log with d_source to 1 and then the CLI output (repetitive calls to status).
Need to push this to 6.2.
This appears to be a bug in softsqueeze.
Will re-test with a slimp3 or sb2
Frederic: Is this still an issue?
Does not seem to occur with a SB2 and 4662. Fixed