Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music playback stopping during playback #343

Closed
klassm opened this issue Sep 2, 2013 · 9 comments
Closed

Music playback stopping during playback #343

klassm opened this issue Sep 2, 2013 · 9 comments
Labels

Comments

@klassm
Copy link
Contributor

klassm commented Sep 2, 2013

Hi,

I got some minor issue here. I am trying to play music from my home server at another location via Internet. The internet connection should be way fast enough. However, after some time (30 seconds or so) the playback just stops. When looking at issued network requests I found out that this happens while loading the next few parts of the song. While loading, the request seems to be timing out. The response actually arrives, but too late.

Is there any chance to increase the timeout?

Matthias

@markuman
Copy link

markuman commented Sep 2, 2013

Same here if i stream from my NAS to the internet with a fluctuating bandwidth (depend on my internet usage). when streaming from my server i have no issues.
but yes, it would be preferable if cherrymusic would cache the complete current song as fast as prossible to the client.

@6arms1leg
Copy link
Collaborator

it would be preferable if cherrymusic would cache the complete current song as fast as prossible to the client.

afaik, it does.
anyway, at least one of the only two developers is on vacation in a place where there is no internet (yes, such places still exist), so please be a little more patient than usual when it comes to issue response within the next few weeks.

@klassm
Copy link
Contributor Author

klassm commented Sep 2, 2013

Hm this is still really strange. I could reproduce that issue even on a local machine here.

Edit: Is this related to my usage of Chrome?

@tilboerner
Copy link
Collaborator

@6arms1leg is right - the server sends whole files as fast as possible. Same goes for transcoding. We didn't really change any related code, except for updating jPlayer -- so maybe that's the cause. Unfortunately, @devsnd, who knows more about the frontend, is incommunicado for the next couple of weeks, and I don't know if I'll have time to get into this.

How often does this kind of thing happen? Can anyone reproduce this in a different broser than Chrome?

One thing you could try is to go back to before the jPlayer update, and see if the issue persists. To do that,
do a

$ git reset --hard bc3b40

on the devel branch. (This is about the devel branch, right?)

@klassm
Copy link
Contributor Author

klassm commented Sep 3, 2013

Yes, it's the devel branch. I just tried Firefox to playback the music. Up to know, I have not encountered this issue over there. It really seems Chrome related.

@klassm
Copy link
Contributor Author

klassm commented Sep 3, 2013

The same bug over there:
https://groups.google.com/forum/#!topic/jplayer/o-d0XIC1YKM

BTW: I changed to bc3b40. After 10 minutes, I still had no stop. Changing back to the current devel head, I had to wait half a song and the issue was back. Strange. And only in Chrome :-)

@devsnd
Copy link
Owner

devsnd commented Sep 28, 2013

I'm back from my holidays...!
Thanks for digging out that bug-report @klassm, there was a solution avaiable i've now integrated into devel.

Basically it catches the error event of jPlayer and restarts the playback of the track, but it sets the playback position to the last known position. It stutters a bit at that point, but this is as good as it gets.

I think that playback can still be improved in that respect, but at least cherrymusic is not unusable on one of the major browsers anymore!

I'll close the issue for now.

@devsnd devsnd closed this as completed in 91778cd Sep 28, 2013
@klassm
Copy link
Contributor Author

klassm commented Oct 3, 2013

Thanks for taking care of that issue! I can in deed confirm that the playback stutters at some point but then continues playing. I also agree that in future versions this stuttering should be further improved. However, I suppose this is an issue of jPlayer, isn't it? Again - thanks!

@TETYYS
Copy link

TETYYS commented Feb 14, 2017

Still experiencing randomly stopping tracks with transcode in chrome. Randomly stops playing and then resumes second after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants