You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you attempt to play a blocked song (it's grayed out in the official Spotify interfaces), it won't play. It won't update the interface, it will simply stop whatever you're playing currently. However, the progress bar may continue.
To Reproduce
Play a blocked song while another song is 'active' (playing or not).
Attempt to unpause and continue the current song.
Expected behavior
The current song should resume no matter what song was attempted prior. Better, the interface should update and shown that no song is currently playing.
Screenshots
I attempted to play 'Bookbag' but the interface remains unchanged. Also not shown in the screenshot is the progress bar progressing normally, despite nothing playing.
Environment
OS: Pop!_OS 22.04 LTS
Application version: 0.12.1
The text was updated successfully, but these errors were encountered:
Resolves#158.
Resolves#211.
The purpose of this PR is to filter out unavailable songs. This functionality is achieved by utilizing Spotify's song relinking feature, specifically by sending the `market` query parameter and using `from_token` to retrieve the user's country code from their token.
A track is filtered out if its `is_playable` is `false`.
This did require a non significant refactor with the functions that call ``internal_call`` and the various internal pagination functions. But by making a "generic" payload field allows for more flexibility in the future if Spotify adds more query params.
Describe the bug
If you attempt to play a blocked song (it's grayed out in the official Spotify interfaces), it won't play. It won't update the interface, it will simply stop whatever you're playing currently. However, the progress bar may continue.
To Reproduce
Expected behavior
The current song should resume no matter what song was attempted prior. Better, the interface should update and shown that no song is currently playing.
Log and backtrace
spotify-player-23-06-23-16:02.log
Screenshots
I attempted to play 'Bookbag' but the interface remains unchanged. Also not shown in the screenshot is the progress bar progressing normally, despite nothing playing.
Environment
The text was updated successfully, but these errors were encountered: