-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Infinitely plays current track (suspend related?) #34
Comments
I watched it more closely this time: Definitely something on suspend triggers it. The track does progress, but then the next track plays silently (possibly infinitely, didn't test this) |
Is this with your machine suspend for longer periods of time? Or did you test with a small suspend interval? I'm trying to rule out expired Spotify authentication tokens. |
The last time was under an hour of suspend. Previous times were overnight.
…On Fri, 15 Mar 2019, 15:34 Henrik, ***@***.***> wrote:
Is this with your machine suspend for longer periods of time? Or did you
test with a small suspend interval? I'm trying to rule out expired Spotify
authentication tokens.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAcq3H1aGw5WZySlX-Xom3R9g78-wFWks5vW6-GgaJpZM4b13Kf>
.
|
Unsuspended my work laptop after being away this weekend. ncspot successfully finished playing the track that had been paused before suspend, then the next track was silent. If you make a patch with more logging for the conditions that you suspect are the root cause, I'll be happy to apply it and report back. |
Thanks for assisting. I have encountered this myself, but didn't have the time to take a closer look, yet. You can enable librespot logging like so: This requires a commit I just pushed. It could be the playback backend dying or the authentication token expiring. Maybe the logs give us something conclusive. |
Hmm, tried this an a few other variations bug I get no log output. |
Mhh. I have pushed something else that will just print everything in the debug view. Maybe that'll help? |
Some relevant output in the logs: |
Thanks for the report. Unfortunately, I can't really pinpoint the exact source of the problem. I'm guessing the session or audio backend is expiring. I have added a "-d" commandline switch where you can supply a filename, to which it will log. The logs should be more verbose now, as all crates are included. If you still feel like it, maybe it'll yield something a little more conclusive. |
This is quite possibly related to that: librespot-org/librespot#134 |
Duplicate of #192 |
When coming back from suspend where a song was previously paused, I've noted that the song will play properly and un-pausing it, however when the song finishes the timer will just continue (ie 11:22 / 3:04) silently and not play the next song. It will honour pausing (so it will stop increasing if you "pause") when in this state.
Selecting other songs in the queue will result in the playback indicator updating, but no song will play. Restarting ncspot fixes this behaviour, but obviously resets the queue. I don't see anything notable in the log screen before restarting.
The text was updated successfully, but these errors were encountered: