Bug 1285 - Slim::Player::Source::songTime($client) returns strange data
: Slim::Player::Source::songTime($client) returns strange data
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Softsqueeze
: unspecified
: Macintosh All
: P2 normal (vote)
: ---
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-02 09:25 UTC by Fred
Modified: 2009-09-08 09:14 UTC (History)
0 users

See Also:
Category: ---


Attachments
Log of d_source & CLI (184.14 KB, text/plain)
2005-06-11 09:51 UTC, Fred
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred 2005-04-02 09:25:52 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
Comment 1 Blackketter Dean 2005-06-07 16:00:04 UTC
Fred: this bug was assinged to the wrong product. is it still an issue?
Comment 2 Blackketter Dean 2005-06-10 16:29:07 UTC
Fred?
Comment 3 Fred 2005-06-11 02:30:24 UTC
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...
Comment 4 Blackketter Dean 2005-06-11 07:54:32 UTC
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?
Comment 5 Fred 2005-06-11 09:51:07 UTC
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).
Comment 6 Vidur Apparao 2005-07-19 13:13:08 UTC
Need to push this to 6.2.
Comment 7 Blackketter Dean 2005-09-07 13:54:36 UTC
This appears to be a bug in softsqueeze.  
Comment 8 Fred 2005-09-08 06:54:36 UTC
Will re-test with a slimp3 or sb2
Comment 9 Blackketter Dean 2005-10-13 12:50:49 UTC
Frederic:  Is this still an issue?
Comment 10 Fred 2005-10-17 14:38:14 UTC
Does not seem to occur with a SB2 and 4662. Fixed