mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[GH-ISSUE #718] [Feature Request] Hide unplayable songs #287
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Frederick888 on GitHub (Jan 24, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/718
Originally assigned to: @elbart on GitHub.
Is your feature request related to a problem? Please describe.
Some songs in my playlists are unplayable. It causes errors when client tries to play such songs.
Describe the solution you'd like

Implementing a 'Hide Unplayable Songs' option like the official Spotify app.
For example, in one of my playlists the first 3 songs are unplayable.
In
sptif I choose any of them the playback just stops:Originally reported at Spotifyd/spotifyd#794
@Rigellute commented on GitHub (Jan 27, 2021):
Hopefully there's a property on the track itself that indicates if it is playable or not 🤔
@Frederick888 commented on GitHub (Jan 27, 2021):
@Rigellute There are at the moment 2 properties:
is_playable:truewhen it's playable; omitted when it's not. Not sure whetherfalseis ever used.is_local: If it's a local file.So ideally we need 2 configs/CLI arguments for each of them. I guess local files can still be played when using official app as playback device, but in the case of
spotifydboth unplayable and local songs should be filtered out.FYI the API response of the example playlist is:
@elbart commented on GitHub (Feb 27, 2021):
As mentioned in https://github.com/ramsayleung/rspotify/issues/190, we currently do not get this
is_playableinformation in a reliable way fromrspotify. I filed an upstream issue there and will try to help them debug the issue.@Shorono commented on GitHub (Apr 13, 2021):
Getting the "is_playable" flag would probably make this easily fixable too. https://github.com/Rigellute/spotify-tui/issues/766