unplayer icon indicating copy to clipboard operation
unplayer copied to clipboard

Stop after playing track misbehaves

Open Thra11 opened this issue 3 years ago • 0 comments

To reproduce:

  1. While playing some music, from the main/track screen, open the bottom pulley menu, and select "Stop playing after track: no" to toggle it to "Stop playing after track: yes".
  2. Listen to the rest of the track. It will stop afterwards.
  3. Close Unplayer.
  4. (Later) Open Unplayer. (Steps 3. & 4. might not even be required)
  5. Press the play button to start playing the existing queue.
  6. Peek at the bottom pulley menu. It says, "Stop playing after track: no"
  7. Listen to the track that is playing until the end. Expected behaviour: It should then move on to the next track in the queue. Actual behaviour: It stops at the end of the first track.
  8. Try to toggle the "Stop playing after track" option in the pulley menu a couple of times. The first time, it won't change (It will still say "no" after toggling).

It looks like after restarting Unplayer, the menu is out-of-sync with the actual behaviour (menu says "Stop playing after track: no", but it stops playing after the track). I think that the menu state is the way it should be, i.e. "Stop playing after track" should be treated as a one-time instruction, not a persistent setting, and should revert to "no" once it's stopped.

Thra11 avatar Jul 16 '21 21:07 Thra11