"Stop after" effect is never cleared
Environment
- Lollypop version: 1.0.10
- GTK+ version: 3.24.8
- Operating system: openSUSE Tumbleweed (20190516)
Bug
Not sure if it's a bug or a wanted behaviour.
Applying "Stop after" on a track stops the playback after the track (ok) but will stop it again any time you play this track even if you reorganize your playlist.
Even if it's a wanted behaviour it's a bit surprising because there is no indicator on the track that will stop the playback. If you apply "Stop after" once and then reorganize your playlist you may forget that "Stop after" which was performed in another context.
Steps to reproduce
Fresh start, no album in "Playing albums" list.
- Play an album => album is added to "Playing albums" list and starts playing.
- Click on "Stop after" on the next track being played and wait for the playback to be stopped (i.e. after second track) => Playback is stopped.
- Clear "Playing albums" => "Playing albums" list is cleared.
- Play the same album.
Expected result
Playback not stopped after second track.
Actual result
Playback is stopped after second track: "Stop after" has still effect even if it has already been triggered once.