Bug 13449 - Song time remaining incorrect
: Song time remaining incorrect
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.0
: PC Windows XP
: P2 normal (vote)
: 7.4.0
Assigned To: Andy Grundman
: Audio::Scan
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-18 00:54 UTC by Philip Meyer
Modified: 2009-10-05 14:29 UTC (History)
1 user (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2009-08-18 00:54:35 UTC
I was playing a long track which is 31:50 long, according to Mp3Tag and Foobar2000.

On the Fab4, I noticed that when it got close to the end of the track, the time remaining flipped to something like 59:59, played a few extra seconds, and then got to the end and stopped.

The Song Time was then showing 31:11, with -0:00 remaining.

So there's a discrepancy in song length.  I set the track progress to 1 min from the end to watch it go through again, and it stopped at exactly 31:11.

Weird.  Where am I losing 39 seconds!
Comment 1 Ben Klaas 2009-08-18 22:21:10 UTC
feels closely related to Bug 12818
Comment 2 Michael Herger 2009-09-03 08:23:08 UTC
Phil - what length do you see in SC? No SP issue if the scanner was wrong.
Comment 3 Philip Meyer 2009-09-06 10:35:38 UTC
Squeezebox Server web UI song info page reports 31:11.
SBT Now Playing screen reports 31:11.

Foobar2000, Mp3Tag and iTunes report 31:50.

So, I guess it's a scanner issue then?
Comment 4 Michael Herger 2009-09-07 23:04:52 UTC
Would you mind uploading that file?
Comment 5 Andy Grundman 2009-09-08 05:55:28 UTC
Yep I need to see the file.
Comment 6 Andy Grundman 2009-09-17 17:54:36 UTC
Ping Phil for a file.
Comment 7 Philip Meyer 2009-09-17 23:38:24 UTC
Hmmm, I added a comment last week to say that I tried to upload the file but it was too big.

I've had a couple of cases now in Bugzilla where my comments seem to have gone missing.
Comment 8 Andy Grundman 2009-09-18 10:58:24 UTC
OK sorry about that, is there any other way you can get me the file?  yousendit?
Comment 9 Philip Meyer 2009-09-18 13:11:53 UTC
I've hosted it in a Torrent server on my PC, and set up port forwarding.  Hopefully the following will work, if you want to download it:

http://hergest.demon.co.uk:6969/torrents/Mountain%20-%20Twin%20Peaks%20-%2005%20-%20Nantucket%20Sleigh%20Ride%20%5BLive%5D.mp3.torrent?151E1CF2A696029F7A317CD3E96A58A6813D6D37

Let me know when you've got it, or if you have problems.
Comment 10 Andy Grundman 2009-09-18 13:16:38 UTC
Thanks, but I can't seem to download it.  Are you sure that's easier than yousendit or similar? :)
Comment 11 Philip Meyer 2009-09-18 13:34:54 UTC
My internet connection has been playing up for the last few days.

Someone seems to be downloading it okay now!
Comment 12 Andy Grundman 2009-09-18 13:55:18 UTC
Oh, there it goes, thanks. :)
Comment 13 Andy Grundman 2009-09-18 14:52:06 UTC
OK, the problem is this file is a poorly encoded VBR file with no VBR header data to help determine the bitrate or duration of the file.  We don't do as good a job of getting the bitrate/duration correct as other programs do I guess.
Comment 14 Andy Grundman 2009-09-18 14:56:06 UTC
Oh wait, it's actually 192k CBR, not VBR, I need to see why we think it's VBR.
Comment 15 SVN Bot 2009-09-18 20:16:37 UTC
 == Auto-comment from SVN commit #428 to the opensource repo by andy ==
 == https://svn.slimdevices.com/opensource?view=revision&revision=428 ==

Fixed bug 13449, what started off as a bugfix to average MP3 bitrate calculation turned into a buffering bug fix (a full buffer was created when reading a file that was smaller)
Comment 16 James Richardson 2009-10-05 14:29:56 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.