Page 1 of 2
Track Will Not Advance

Posted:
Mon Mar 27, 2017 12:49 pm
by quimbo
Upgraded over the weekend. Came into work today and started streaming. After track 1 is completed the app just spins and will not advance to the next track. Clicking Next icon starts up the next track, then it spins again at the end of that track. The music is stored on a windows 7 device. The playback is also through windows 7
As soon as I posted this track 3 finished and track 4 started.
When track 4 ended (8 minutes 10 seconds), it hung again
Re: Track Will Not Advance

Posted:
Mon Mar 27, 2017 2:35 pm
by acroyear
What browser are you using? Some older browsers have issues with the html5 audio tag and getting "ended" events. (Chrome Android pre 52 in particular - I had to hack a "current time vs duration" watcher to get Amazon's Fire TV to advance to the next song).
Re: Track Will Not Advance

Posted:
Mon Mar 27, 2017 4:14 pm
by quimbo
Thank you Joe.
Chrome 56.0.2924.87 (64 bit)
Just updated to 57.0.2987.110 - lets see if this fixes it
Re: Track Will Not Advance

Posted:
Mon Mar 27, 2017 6:11 pm
by quimbo
That did not fix it. I went to see someone here that also streams daily from my subsonic. He uses chrome and is not having an issue. One difference is that he is listening to music that is on an external drive and I am listening to music that is on an older raid device. I always wait longer for this device to start streaming than I do from the external drives. Maybe the issue is related to that I will dig into later today
Re: Track Will Not Advance

Posted:
Mon Apr 03, 2017 6:38 pm
by quimbo
I think the issue is with any show I have added to my library since I upgraded Subsonic.
Today, the track time was increasing after the track completed. For example, if the track is 6:50, i see 10:30/6:50 in the lower right hand corner. the 10:30 increases every second until I manually click next track
Re: Track Will Not Advance

Posted:
Tue Apr 11, 2017 4:01 pm
by PoGo
Hello,
I've got the same issue since the upgrade in 6.1b2 with all my users using various browser (that I guess they keep updated).
I tried to delete all the user's players.
Now I start to think it's a trancoding related issue...
Re: Track Will Not Advance

Posted:
Wed Apr 12, 2017 12:35 am
by quimbo
for me it is only shows added to my library since the upgrade.
Re: Track Will Not Advance

Posted:
Fri Apr 28, 2017 7:29 pm
by thenuma
yeah, same here, doesn't advance.
Re: Track Will Not Advance

Posted:
Mon Jun 05, 2017 2:04 pm
by Freshman
Same thing started happening to me after upgrade.
Subsonic 6.1.1
Chrome 58.0.3029.110 (64-bit)
Re: Track Will Not Advance

Posted:
Mon Jun 05, 2017 2:29 pm
by PoGo
Same here ! This problem is not solved even with the new version
Does anyone have a clue ?
Re: Track Will Not Advance

Posted:
Tue Jun 06, 2017 8:41 am
by Freshman
Using Chrome Developer Tools > Network there are visible requests "stream?player=24&id=1234&auth=123456123&scrobble=false" which, on my test album, results in "Status: 206 Partial Content" growing to couple MBs together with occasional spikes in CPU usage on server by ffmpeg process.
This goes for first three and a half tracks, then something happens and for same "stream?player...." there is "Status: (failed) net::ERR_CONTENT_LENGTH_MISMATCH" repeating. During this time ffmpeg process is spawning repeatedly on the server, Subsonic is not playing - stuck at the end of song, not progressing to next track, spinning.
If it can help I can provide video of this behaviour, record browser activity, track anything on server... just tell me what would be helpful.
I am running Subsonic on Ubuntu server.
With Subsonic 6.0 with same settings and same album from same network folder the whole album plays without any interruption.
Normally my subsonic is accessed from internet through HAproxy reverse proxy, doing SSL offloading, but for testing I am accessing Subsonic directly over local network with same results.
Re: Track Will Not Advance

Posted:
Thu Jun 08, 2017 7:03 pm
by sindre_mehus
Does this happen only with transcoded tracks? Which source format is it?
Thanks
Sindre
Re: Track Will Not Advance

Posted:
Fri Jun 09, 2017 4:00 am
by evilmanimani
I was experiencing this when transcoding from Flac to MP3, and I seemed to have resolved it by using two-step transcoding that doesn't use ffmpeg, like so:
step 1:
flac --silent --decode --stdout %s
step 2:
lame --silent -h -b %b -
I just tried disabling FLAC transcoding altogether though, and I'm not running into the issue with that configuration either.
Re: Track Will Not Advance

Posted:
Fri Jun 09, 2017 5:16 am
by Freshman
I did all my testing on FLAC, it is entirely possible all albums I have experienced this were transcoding from FLAC.
Re: Track Will Not Advance

Posted:
Fri Jun 09, 2017 7:23 am
by PoGo
Same here, all transcoded flac (to mp3) are experiencing this issue.
I'll try evilmanimani's workaround...