[GH-ISSUE #816] When "content is not available" it skips over and then index of selection is off #338

Open
opened 2026-02-28 14:48:35 +03:00 by kerem · 2 comments
Owner

Originally created by @milanleonard on GitHub (May 17, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/816

In some of my spotify playlists I have content which is 'unavailable' as in is greyed out.
image

When I try to select this song in SPT-tui, instead of telling me it can't, it instead just plays the next song, which would be fine behaviour. But then it offsets the index of everything by 1, and so if I then try to click on let's say, Jazzphonics, it instead plays JAS, which is the next available song. In the below screenshots I have just pressed enter on the highlighted objects, and the song playing is what SPT-TUI selects

image

image

Originally created by @milanleonard on GitHub (May 17, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/816 In some of my spotify playlists I have content which is 'unavailable' as in is greyed out. ![image](https://user-images.githubusercontent.com/1357619/118424384-7b3bba80-b70a-11eb-9f9c-3154f641ddd2.png) When I try to select this song in SPT-tui, instead of telling me it can't, it instead just plays the next song, which would be fine behaviour. But then it offsets the index of everything by 1, and so if I then try to click on let's say, Jazzphonics, it instead plays JAS, which is the next available song. In the below screenshots I have just pressed enter on the highlighted objects, and the song playing is what SPT-TUI selects ![image](https://user-images.githubusercontent.com/1357619/118424504-b3db9400-b70a-11eb-96f3-2d976891ab1d.png) ![image](https://user-images.githubusercontent.com/1357619/118424629-e8e7e680-b70a-11eb-8c3e-52366ce27bef.png)
Author
Owner

@keith-taylor commented on GitHub (Apr 6, 2023):

You can fix this by loading another playlist, and then re-loading the original one. It's only a matter of time before one of the Unavailables is played again so best to use this as a prompt to clean out the unavailable tracks from your playlist.

<!-- gh-comment-id:1499614079 --> @keith-taylor commented on GitHub (Apr 6, 2023): You can fix this by loading another playlist, and then re-loading the original one. It's only a matter of time before one of the Unavailables is played again so best to use this as a prompt to clean out the unavailable tracks from your playlist.
Author
Owner

@sewnie commented on GitHub (Apr 6, 2023):

Or you can fix it with https://github.com/aome510/spotify-player

<!-- gh-comment-id:1499625993 --> @sewnie commented on GitHub (Apr 6, 2023): Or you can fix it with https://github.com/aome510/spotify-player
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#338
No description provided.