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 being unable to play after ncspot's been open for a certain anount of time. #1461

Open
cueboid opened this issue May 28, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cueboid
Copy link

cueboid commented May 28, 2024

Describe the bug
After ncspot has been open for a certain amount of time, possibly exceeding 5 hours, any music that I attempt to play will be stuck at 0 seconds. This can be fixed be restarting ncspot.

To Reproduce
Wait for possibly over 5 hours.

Expected behavior
The music is supposed to play.

System (please complete the following information):

  • OS: Arch Linux
  • Terminal: Kitty
  • master
  • Installed from: AUR
@cueboid cueboid added the bug Something isn't working label May 28, 2024
@gfarrell
Copy link

I get this all the time. The number of tracks / amount of time seems fairly random, but 100% of the time, within a few hours of playback (sometimes just 20 minutes), ncspot just won't play music and I have to kill it and reopen to get it to work.

Version: 1.1.0 (installed from the AUR) [built 7/3/2024]
OS: archlinux
Terminal: kitty and alacritty both exhibit this

@brtholomy
Copy link

same. unpredictable when, but always does it.

noticed that it won't continue on the same track, but sometimes will restart if a different track is selected.

Version: 1.1.0 via AUR on Arch
running in Terminator

@lukebarone
Copy link

Also happening on Windows 11 via the Terminal.

@brtholomy
Copy link

brtholomy commented Oct 3, 2024

looking at a recent backtrace, my guess is it's here:
https://github.com/hrkfdn/ncspot/blob/main/src/spotify_api.rs#L101

something to do with the token refresh

  11: main
  12: <unknown>
  13: __libc_start_main
  14: <unknown>

panicked at src/spotify_api.rs:101:31:
called `Result::unwrap()` on an `Err` value: SendError { .. }

but this might not be right, since it doesn't actually crash, just freeze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants