When I enable autoplay while playing the last track of the queue, the play queue is immediately filled with random tracks.
This is a bit annoying as the added tracks aren't removed when autoplay is deselected.
I'm not sure if this is an unintended behavior, but IMO it doesn't feel very intuitive as whether tracks are added to the queue or not is fully dependent on the position of the track in the play queue.
Eg.:
- I have autoplay enabled
- I select an album
- If I play any track but the last, only the album is part of the play queue
- If I play the last track, the play queue is immediately filled with random tracks (this is especially noticeable with singles, as the first track is also the last)
I think the way around this would be to only add new autoplay tracks to the play queue when the current track is about to end. This would use the same mechanism as setNextTrack in playbackengine.go/handleTimePosUpdate.
When I enable autoplay while playing the last track of the queue, the play queue is immediately filled with random tracks.
This is a bit annoying as the added tracks aren't removed when autoplay is deselected.
I'm not sure if this is an unintended behavior, but IMO it doesn't feel very intuitive as whether tracks are added to the queue or not is fully dependent on the position of the track in the play queue.
Eg.:
I think the way around this would be to only add new autoplay tracks to the play queue when the current track is about to end. This would use the same mechanism as
setNextTrackin playbackengine.go/handleTimePosUpdate.