Rigellute / spotify-tui

Spotify for the terminal written in Rust 🚀
MIT License
17.35k stars 518 forks source link

Playlist paging skips or duplicates the display of songs in a playlist. #362

Open CalebWentworth opened 4 years ago

CalebWentworth commented 4 years ago

There seem to be issues with where in a playlist pages begin and end.

Depending on the height of the terminal window, the songs panel will display whatever number of songs can fill the area, but the paging of a playlist does not where the last page ended when bringing up the next "page" of songs. This causing songs to be either not displayed as part of the playlist or to be displayed multiple times.

End of one page: image

Beginning of the next: image

Structure of the playlist: image

Duplication on large terminal windows: image image

I tested this on multiple playlists, hyper and gnome terminal, and zsh and bash; getting similar results on all.

Its been mentioned before that pagination has some issues especially on custom playlists, so you may already be aware of this, but I haven't seen another issue that describes anything quite like this.

jeanlescure commented 4 years ago

Seeing the same problem in bash and sh, both in kterminal and yakuake. And I'd like to note it was quite frustrating when I found this issue because I was trying to play a specific song on a playlist but said song was lost in an unreachable limbo between the first and second page :facepalm:

bdavs3 commented 2 years ago

@CalebWentworth @jeanlescure I just discovered this behavior as well. Is this something you guys want to tackle fixing with me?

bdavs3 commented 2 years ago

Relevant issues:

Gorrick commented 3 months ago

Hey, I'm sorry if this is inappropriate but do you have any updates on this? I'm using guake and still suffering from this too.

bdavs3 commented 3 months ago

@Gorrick No updates from me, sorry! Haven't looked at this project in a long time

apprehensions commented 3 months ago

@Gorrick https://github.com/aome510/spotify-player