ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

Playback status suddenly changes to "Stopped"

Open Bettehem opened this issue 8 months ago • 3 comments

Describe the bug Sometimes, at seemingly random times a song's playback status will unexpectedly change to "Stopped". It can sometimes happen while a song is playing, but I have found it easier to reproduce if I just pause a song and then wait.

To Reproduce Steps to reproduce the behavior:

  1. Start playing a song
  2. Pause playback (not strictly necessary for the issue to happen but is easier to reproduce like this)
  3. Wait for X amount of time (can sometimes take hours on my end)
  4. See that playback status changes to "Stopped"

Expected behavior Playback status shouldn't suddenly change without user interaction.

System (please complete the following information):

  • OS: Arch Linux
  • Terminal: Alacritty, tmux
  • Version: 1.2.2
  • Installed from: AUR, also happens on latest commit in the main branch

Backtrace/Debug log Doesn't cause any crashes so no logs unfortunately :/

Additional context Normally if a user stops playback, the playback status will change to "Stopped" and also there will be no "current track", meaning the track's metadata will also be cleared and e.g. MPRIS metadata will just be empty, as one would expect. When this issue happens, only playback status is set to "Stopped", but the track's metadata stays and the track can be seen at the bottom of the screen where the currently playing track appears, but playback status is "Stopped"

I'm not quite sure when exactly this issue started happening, but I remember experiencing this at least since the 1.2.0 release

Bettehem avatar Mar 28 '25 07:03 Bettehem

Confirm that. I also face this issue.

yancelawang avatar Apr 07 '25 05:04 yancelawang

If you run ncspot in debug mode (via -d <path>) it will continuously log to a file. The contents of that file during the track stop would be super helpful!

hrkfdn avatar Apr 07 '25 05:04 hrkfdn

Here the log file. Thank you.

log.txt

yancelawang avatar Apr 07 '25 07:04 yancelawang