unplayer
unplayer copied to clipboard
Stop after playing track misbehaves
To reproduce:
- 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".
- Listen to the rest of the track. It will stop afterwards.
- Close Unplayer.
- (Later) Open Unplayer. (Steps 3. & 4. might not even be required)
- Press the play button to start playing the existing queue.
- Peek at the bottom pulley menu. It says, "Stop playing after track: no"
- 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.
- 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.