cherrymusic icon indicating copy to clipboard operation
cherrymusic copied to clipboard

Song doesn't play fully

Open RubenBrocke opened this issue 7 years ago • 5 comments

When i play any song the song plays for a couple of minutes and then proceeds to restart. it seems like it does some loading animation as well.

output of cherrymysic --info $ cherrymusic --info CherryMusic Server 0.40.0

CherryPy: 8.9.1 Python: CPython 3.6.1 Platform: Linux-4.9.20-std-1-armv7l-with-arch

configuration dir: /home/panda/.config/cherrymusic server data dir: /home/panda/.local/share/cherrymusic static resources dir: /usr/share/cherrymusic/ server package dir: /usr/lib/python3.6/site-packages/cherrymusicserver process working dir: /home/panda/Music

locale: ('en_US', 'UTF-8'), default: ('en_US', 'UTF-8') filesystem encoding: utf-8

Available Decoders: wav (cat) Available Encoders: mp3 (lame) wav (cat)

Using the debugger it seems something is happening to progress that resets it to 0 (after first being set to something like 77)

RubenBrocke avatar Jul 04 '17 23:07 RubenBrocke

Hey Ruben,

Sorry for the late answer! I was in the holidays then sick, but I'm better now :)

Since you haven't installed any transcoders, I'm assuming that your playback in the browser fails. Which browser are you using? Also, can you paste the output of the javascript console after the playback failed?

devsnd avatar Jul 21 '17 16:07 devsnd

The song does play. so i don't think its the transcoders. With some songs (not all) it plays to some spot (alsways the same spot) and then just resets. i was using chromium and there's not output as far as i can see. i just see another GET request

RubenBrocke avatar Jul 21 '17 18:07 RubenBrocke

I have the same problem. It begins the song and at a certain point it returns to the beginning. I haven't noticed a pattern in when it repeats, but I've noticed it also only on Chrome. I'm going to try to see if I can get any more information for you to track down the bug.

output of cherrymusic --info:

CherryMusic Server 0.40.0+master-2-g79487b7

CherryPy: 3.2.2
Python: CPython 3.4.2
Platform: Linux-4.9.0-3-amd64-x86_64-with-debian-8.7

configuration dir:
    /root/.config/cherrymusic
server data dir:
    /root/.local/share/cherrymusic
static resources dir:
    /opt/cherrymusic/
server package dir:
    /opt/cherrymusic/cherrymusicserver
process working dir:
    /opt/cherrymusic

locale: ('en_US', 'UTF-8'), default: ('en_US', 'UTF-8')
filesystem encoding: utf-8

Available Decoders:
    ogg (oggdec)
    oga (oggdec)
    flac (flac)
    wav (cat)
Available Encoders:
    ogg (oggenc)
    mp3 (lame)
    flac (flac)
    wav (cat)

NickSavage avatar Aug 03 '17 13:08 NickSavage

Had the same issue for a while on Firefox for Linux, but then changed laptop and haven't noticed it since.

The song loaded only partially and only continued if the playback almost reached the "end" and the tab with the player was the active one. Otherwise it would start playing again, loading the song again to some other new spot. This could go on for hours until you noticed that song wasn't actually that long.

Couldn't find any related logs, could this be a browsers' way of handling memory for tabs in the background?

rubencabrera avatar Nov 08 '17 20:11 rubencabrera

sorry for breaking into old thread - I have this problem when streaming to my iPhone. In browser windows (remotely) it's going perfect.

speeskeek avatar Nov 16 '18 14:11 speeskeek