SUMMARY Firstly, make sure repeat playlist feature is enabled. STEPS TO REPRODUCE 1. add two tracks to your playlist 2. start to play the first track 3. while Elisa plays the first track, hover over the second track and click on its "Remove" button 4. wait playback of the first track to finish OBSERVED RESULT playback stops. Click on play button and double click on the track in the playlist do nothing. It's impossible to play the track in the playlist even after I restart Elisa. EXPECTED RESULT track in the playlist is repeated SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.1
I use nighly build installed via flatpak.
Can reproduce with git master version.
I can also reproduce. However, I think the problem only occurs when there is only one track in the playlist. Elisa only plays a new song if the url changes, which it does not in this case. Can you confirm by testing with repeat mode enabled: Having more than two tracks in the playlist, play the second to last track and remove the last track during playback. Playback should continue with the first track. Add one track to the playlist and let it end. Error described in this report should occur.
Yep, can confirm. The problem only happens when there is only one track left in the playlist after removals.
The bug is in ManageAudioPlayer only setting the new source if it differs from the previous one. However, since I am not really familiar with that part of the code, I will leave this to Matthieu :)
I will take care of it.
Fixed by https://invent.kde.org/kde/elisa/merge_requests/32