Describe the bug
When playing a playlist with Shuffle and Repeat Playlist on, manually playing the last item causes the player to continually repeat that track, ignoring the other previous tracks in the playlist.
To Reproduce
Steps to reproduce the behaviour:
Create a playlist with two or more items
Enable Shuffle and Repeat Playlist
Navigate to the playlist and manually play the last track
Click on the Next Track button
Notice that the player repeatedly plays the last track instead of playing any of the previous tracks in the playlist, as if only the last track is in the queue
Expected behaviour
Any of the other tracks to be played
Screenshots
Desktop (please complete the following information):
OS: MacOS 13.3
Version v1.4.0
Additional context
The issue also occurs when playing the playlist directly, and the Shuffle feature happens to pick the final track. In such cases, the player continuously repeats the final track, and the previous tracks in the playlist are disregarded.
Describe the bug When playing a playlist with Shuffle and Repeat Playlist on, manually playing the last item causes the player to continually repeat that track, ignoring the other previous tracks in the playlist.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour Any of the other tracks to be played
Screenshots![Screen Recording](https://user-images.githubusercontent.com/31168911/229356947-5ac47f12-1d1e-468b-a456-78cba770b892.gif)
Desktop (please complete the following information):
Additional context The issue also occurs when playing the playlist directly, and the Shuffle feature happens to pick the final track. In such cases, the player continuously repeats the final track, and the previous tracks in the playlist are disregarded.