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

Song doesn't play fully #673

Open
RubenBrocke opened this issue Jul 4, 2017 · 5 comments
Open

Song doesn't play fully #673

RubenBrocke opened this issue Jul 4, 2017 · 5 comments

Comments

@RubenBrocke
Copy link

RubenBrocke commented Jul 4, 2017

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)

@devsnd
Copy link
Owner

devsnd commented Jul 21, 2017

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?

@RubenBrocke
Copy link
Author

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

@NickSavage
Copy link

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)

@rubencabrera
Copy link

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?

@speeskeek
Copy link

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

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

No branches or pull requests

5 participants