Bug 10475 - Last 15 seconds of song gets chopped off (skipped)
: Last 15 seconds of song gets chopped off (skipped)
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Transcoding
: 7.3.0
: Other Other
: P4 major (vote)
: 7.3.3
Assigned To: James Richardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-27 10:30 UTC by Don
Modified: 2012-02-27 17:19 UTC (History)
3 users (show)

See Also:
Category: Task


Attachments
custom-convert file (508 bytes, application/x-zip-compressed)
2008-12-27 10:30 UTC, Don
Details
Possible patch for consequences (1.49 KB, patch)
2009-02-03 10:09 UTC, Alan Young
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don 2008-12-27 10:30:27 UTC
Created attachment 4515 [details]
custom-convert file

I recently upgraded from 7.2.1 to 7.3 and encountered this problem. I upgraded from 7.3 to 7.3.1 hoping that it would be solved but wasn't. It seems that the last 15 seconds of songs I play from my library (iTunes) gets chopped off. I did not notice this problem under 7.2.1. When the song gets 15 seconds from the end it jumps to the next song. Is this a bug, a setting, or something I have to change in my custom-convert.conf? My config is as follows:

QNAP TS-509 f/w 2.1.0 build 1202T (latest version)
SSOTS 3.15
SC 7.3.1 - 24372 
Squeezebox Duet
iTunes music library - songs encoded as aac (m4p) not loseless

custom-convert.conf is attached.

I think I read that a new custome-convert.conf file is needed with 7.3. Is this true? If so could this be the problem?
Comment 1 Adrian Smith 2008-12-27 16:16:23 UTC
It would be worth trying the latest 7.3.2 nightly as there was a change between 7.2 and 7.3 which has been changed back in the latest nightlies and *could* impact this.
Comment 2 Don 2008-12-28 14:48:01 UTC
I just upgraded to Version: 7.3.2 - 24422 @ Sun Dec 28 03:00:06 PST 2008. I'll test over the next few days and let you know what happens.
Comment 3 Don 2008-12-28 17:33:47 UTC
I did some testing and it is still happening. It doesn't happen on all songs, which is the same as it was before I installed 7.3.2.xxx. So no improvement. I did verify that the songs that skipped in SC played fine in iTunes and they did. Is my custom-convert.conf file ok?

Don
Comment 4 Alan Young 2009-01-04 03:26:06 UTC
(In reply to comment #3)
> Is my custom-convert.conf file ok?

It is ok for FLAC and WAV as far as I can tell, but MP3 is wrong. Look at the main convert.conf for details of the syntax needed when BITRATE is specified.
Comment 5 Alan Young 2009-01-04 03:27:20 UTC
This is almost certainly a Transcoding issues with SC and not specifically related to the SBR.
Comment 6 Alan Young 2009-01-04 03:32:11 UTC
(In reply to comment #3)
> Is my custom-convert.conf file ok?

Can you try adding '   # F' to the custom-convert.conf entry for FLAC, like this (note the whitespace):

mov flc * *
	# F
	[mplayer-stdout] -really-quiet ...
Comment 7 Don 2009-01-05 22:26:49 UTC
I will add the # F in a few days and report back. I am currently doing some testing on another bug report.
Comment 8 Alan Young 2009-01-09 01:53:39 UTC
Moving target to monitor pending a response from Don.
Comment 9 Don 2009-01-12 11:14:02 UTC
I tested it and it seems to be working now. What does the '# F' do?
Comment 10 Alan Young 2009-02-03 10:06:12 UTC
Sometimes the player sends a DSCO with a non-zero reason code when it would seem that a normal disconnect at the end of the track
is what has really happened. Quite why in not clear.

It would seem, from reports that this problem happens with both ip3k players and SqueezePlay, so it is probably something triggered by SC.

It does not seem to be confined to a single operating-system platform.

http://forums.slimdevices.com/attachment.php?attachmentid=6878&d=1233506199

Bug 9758 is probably relevant.

Bug 10919 may be the same - not sure.
Comment 11 Alan Young 2009-02-03 10:09:11 UTC
Created attachment 4754 [details]
Possible patch for consequences
Comment 12 Bebop 2009-02-03 14:47:48 UTC
Tried applying the suggested patch on the two files to fix Bug 10919, see my post there regarding my preliminary good results :-)
Regards
Bebop 
Comment 13 Alan Young 2009-02-05 06:12:09 UTC
Please can QA try to reproduce this. So far, I have been unable to, after 24hrs continuous play. Although the original reporter of this bug was using Qnap, I think that Windows would be the best test platform. It might be best to use tracks that require SC transcoding (AAC or ALAC for example).

Run with logging player.source=info and network.protocol.slimproto=info. The symptom will be an instance of playerStreamingFailed in the log and, if anyone is actually listening to the player, a track will end prematurely before starting the next.

An excellent addition to this test would be a network sniffer, filtering on the player's mac address and set stop a few packets after getting a TCP RST.

This test must be carried out with SC 7.3.* _prior_ to r24875.
Comment 14 Alan Young 2009-02-13 00:24:50 UTC
*** Bug 10919 has been marked as a duplicate of this bug. ***
Comment 15 Chris Owens 2009-03-09 09:57:00 UTC
Steven could you have a look at this?
Comment 16 Spies Steven 2009-03-10 14:57:58 UTC
Alan, is this still something you would like QA to reproduce?  I tried for a while to reproduce on Windows XP without success.
Comment 17 Alan Young 2009-03-15 05:01:51 UTC
I'd still like to get to the bottom of this problem, so yes, it would be good if you could continue to try to reproduce it. Perhaps you set up a continuous test rig that just lets this play for a few days: Windows, AAC files, SC 7.3.* _prior_ to r24875. Then just check the logfile for the playerStreamingFailed messages - noone actually has to listen to the output. And it really would be good if a packet sniffer (wireshark or similar) was part of the test rig.
Comment 18 Chris Owens 2009-03-16 09:45:44 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 19 Chris Owens 2009-03-30 17:31:38 UTC
Since there's now a planned 7.3.3 release, bugs which won't make the cut-off are being moved to the next target out.  If you feel that this bug needs to be addressed more (or less) urgently than the 7.4 release, please cc chris@slimdevices.com and leave a comment in the bug to that effect so we can review it.

Thanks.
Comment 20 Chris Owens 2009-03-31 08:54:02 UTC
For some reason Bugzilla did not change the target when I did this yesterday.  Or maybe it was me.  In either case, I'm trying it again.
Comment 21 Don 2009-03-31 12:29:55 UTC
The change log for 7.3.3 shows this as being fixed. So why are you changing the target milestone to 7.4?
Comment 22 James Richardson 2009-03-31 14:04:24 UTC
(In reply to comment #21)
> The change log for 7.3.3 shows this as being fixed. So why are you changing the
> target milestone to 7.4?

Don: Have you tested with the latest 7.3.3 nightly?

Can you confirm that the bug has been fixed?
Comment 23 Don 2009-04-02 20:34:02 UTC
I have not actually tested it but if you read back thru the bug history (#12) you will see that Bebop has tested and says it works.
Comment 24 Alan Young 2009-04-02 21:58:34 UTC
Thanks Don. I've left his open because I'm still hoping that the QA team will be able to reproduce the original problem so that we can confirm that the fix is indeed the correct one. We may have an apparent fix but there may also be an underlying problem that needs attention.
Comment 25 James Richardson 2009-08-06 15:55:46 UTC
Adding time worked info
Comment 26 James Richardson 2009-11-05 09:43:10 UTC
QA will not have time to validate this fix.
Comment 27 James Richardson 2012-02-27 17:19:07 UTC
Closing resolved bugs - if you feel this bug still exists please first re-test with the latest SW/FW version.  If you are able to reproduce then feel free to reopen and attach new logs / steps to reproduce.