[GH-ISSUE #411] playing wrong Song in some playlists #167

Open
opened 2026-02-28 14:47:29 +03:00 by kerem · 6 comments
Owner

Originally created by @worldpotato on GitHub (Apr 23, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/411

I have a strange behavior in one playlist. Its the "the essential ska" playlist.
When I select a song and hit enter spotify plays the song above the selected. If I select the first song, noting happens.
And that is only on the first page. If I scroll down it plays a fully random song, sometimes the right one.

I have no idea whats wrong with that playlist, but maybe it points out to something that is missing.
If it is not helpfull, the issue can be closed.

Ah and shuffle and repeat are not activated.

Originally created by @worldpotato on GitHub (Apr 23, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/411 I have a strange behavior in one playlist. Its the "the essential ska" playlist. When I select a song and hit enter spotify plays the song above the selected. If I select the first song, noting happens. And that is only on the first page. If I scroll down it plays a fully random song, sometimes the right one. I have no idea whats wrong with that playlist, but maybe it points out to something that is missing. If it is not helpfull, the issue can be closed. Ah and shuffle and repeat are not activated.
Author
Owner

@edoiks commented on GitHub (Jun 17, 2020):

This affects also me, on my long playlist, after few pages down it plays not the song selected but next one. But when I go back one page it plays selected song. My observation is that for my list after page 10 it starts to play wrong song.

<!-- gh-comment-id:645330295 --> @edoiks commented on GitHub (Jun 17, 2020): This affects also me, on my long playlist, after few pages down <Ctrl-d> it plays not the song selected but next one. But when I go back one page it plays selected song. My observation is that for my list after page 10 it starts to play wrong song.
Author
Owner

@Rigellute commented on GitHub (Jun 29, 2020):

Hmmm... sounds like some strange arithmetic is occuring with pagination.

Pagination needs a major overhaul anyway, I'll look into this too.

<!-- gh-comment-id:651269531 --> @Rigellute commented on GitHub (Jun 29, 2020): Hmmm... sounds like some strange arithmetic is occuring with pagination. Pagination needs a major overhaul anyway, I'll look into this too.
Author
Owner

@LWenH commented on GitHub (Jul 9, 2020):

Also am I have the same issue, after few pages down it plays the unmatched song.

<!-- gh-comment-id:656107233 --> @LWenH commented on GitHub (Jul 9, 2020): Also am I have the same issue, after few pages down it plays the unmatched song.
Author
Owner

@jack-greenberg commented on GitHub (Oct 18, 2020):

Unsure if this is the same issue as for other folks, but I ran into something similar and realized that if I was viewing the contents of a playlist in the main section, but a different playlist was highlighted/bolded in the playlists bar, when I play a song in the main section, the song in the position in the other playlist starts.

To reproduce:

  1. Open a playlist from the sidebar (press <Enter> so that the contents of the playlist appear in the main panel)
  2. You should still be active in the playlist sidebar
  3. Press j to hover over the next playlist
  4. Press <Esc> to exit active mode
  5. Press l (L) to move to the main panel
  6. Press <Enter> to play the first track visible in the main panel.

The song that should play is the one your cursor is currently highlighted on, but the song that actually plays is the song at that position (order from the top) in the playlist currently bolded in the playlist panel.

Happy to clarify anything about this bug! I am also working on learning Rust, and I may poke around and see if I can find where a fix would go... If anyone has any ideas, let me know and I can take a look!

<!-- gh-comment-id:711099985 --> @jack-greenberg commented on GitHub (Oct 18, 2020): Unsure if this is the same issue as for other folks, but I ran into something similar and realized that if I was viewing the contents of a playlist in the main section, but a different playlist was highlighted/bolded in the playlists bar, when I play a song in the main section, the song in the position in the other playlist starts. **To reproduce**: 1. Open a playlist from the sidebar (press `<Enter>` so that the contents of the playlist appear in the main panel) 2. You should still be active in the playlist sidebar 3. Press `j` to hover over the next playlist 4. Press `<Esc>` to exit active mode 5. Press `l` (L) to move to the main panel 6. Press `<Enter>` to play the first track visible in the main panel. The song that _should_ play is the one your cursor is currently highlighted on, but the song that actually plays is the song at that position (order from the top) in the playlist currently bolded in the playlist panel. Happy to clarify anything about this bug! I am also working on learning Rust, and I may poke around and see if I can find where a fix would go... If anyone has any ideas, let me know and I can take a look!
Author
Owner

@skprzyluska commented on GitHub (Apr 2, 2025):

Hi, I've got the same problem. Has anyone found a fix?

<!-- gh-comment-id:2772055071 --> @skprzyluska commented on GitHub (Apr 2, 2025): Hi, I've got the same problem. Has anyone found a fix?
Author
Owner

@sewnie commented on GitHub (Apr 2, 2025):

Spotify-tui has unfortunately been abandoned by the author, and since then, the Spotify API changed signficantly, breaking this project.

Please use spotify_player: https://github.com/aome510/spotify-player, which is more feature-packed and more convenient.

<!-- gh-comment-id:2772095000 --> @sewnie commented on GitHub (Apr 2, 2025): Spotify-tui has unfortunately been abandoned by the author, and since then, the Spotify API changed signficantly, breaking this project. Please use spotify_player: https://github.com/aome510/spotify-player, which is more feature-packed and more convenient.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#167
No description provided.