cherrymusic icon indicating copy to clipboard operation
cherrymusic copied to clipboard

start playing before calculating track length

Open 6arms1leg opened this issue 12 years ago • 4 comments

when an album is added to an empty queue, the first track starts playing after all track lengths are calculated, which at the moment is quite slow. so the user has to wait about 10s until the first track actually starts playing. it would be nice, if the first track would start playing immediately, regardless of whether all track lengths are calculated or not.

6arms1leg avatar Mar 04 '14 18:03 6arms1leg

I have now implemented a quick fix, which just might work; audio meta-data fetching is delayed by one second, so that the first request from the client is the request for actual audio data. It works fine for me; please check if it does for your too. If it does, feel free to close this issue.

If this does not help, we'd have to implement a more redical change to the way the client talks with the server, so some requests can be prioritized.

devsnd avatar Mar 15 '14 13:03 devsnd

sorry, its not working here. behavior remains unchanged. tested on the test server with firefox v25. :partly_sunny:

6arms1leg avatar Mar 15 '14 14:03 6arms1leg

I just pulled the newest version on my test server and it works perfectly there.

You should also update (I mean pull) once more, since I've just included a performance fix for loading playlists on the client (so the browser doesn't freeze for a second, which probably takes away the one second delay for fetching the meta-data). Please also make sure you have properly reloaded the client ctrl-R, which sometimes has to be done twice, so the browser really throws away all the cached data.

devsnd avatar Mar 15 '14 14:03 devsnd

I just pulled the newest version on my test server and it works perfectly there.

thats where i tested it. its not working for me.

6arms1leg avatar Mar 15 '14 15:03 6arms1leg