aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.63k stars 166 forks source link

Queue not displaying album tracks correctly #597

Open ampcat3 opened 3 weeks ago

ampcat3 commented 3 weeks ago

Describe the bug When an album is selected, the album view correctly displays the tracks (say 7 tracks in total). When the first track of the album is selected, going to the Queue view will show many more tracks (18 for example) with the tracks repeated (the "repeat" selection is off). If I look at the queue using the Spotify Web Player, there are just the 7 tracks from the album.

To Reproduce Use tab to get to the albums list. Hit space to select an album which causes the album view to be displayed. Make sure repeat is off. Hit space to select the first track for playing. Once it starts playing, hit z to bring up the Queue view. There will be many more tracks listed than there are in the album with the tracks being repeated. While in the Queue view, select n to play the next track. If you keep selecting n, the number of tracks in the list will vary (between 18 and 17 in my case).

Expected behaviour I would expect the Queue view to show the album tracks without them being repeated and also to display the same number of tracks after choosing to play the next track.

Log and backtrace Log and backtrace of a run reproducing the bug to help debug the issue, which are usually located in $HOME/.cache/spotify-player/.

Please refer to this URL for more details. spotify-player-24-11-02-11-35.log

Screenshots If applicable, add screenshots to help explain your problem. album_selection album_selection_2 queue queue_2

Environment

Additional context Add any other context about the problem here.