mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #617] Unable to search or lookup artist songs #1297
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1297
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 @Saevath on GitHub (Nov 27, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/617
Describe the bug
Whenever I try to search a song or look up an artist's playlist the player gets stuck, from the logs I can see that the fetch request seems to be failing.
To Reproduce
Install spotify-player
Authenticate
Try to search a song title or artist
Expected behaviour
View the searched songs
Log and backtrace
2024-11-27T21:43:17.059424Z INFO client_request{request=GetContext(Artist(ArtistId("2d0hyoQ5ynDBnkvAbJKORj")))}: spotify_player::client: Get artist context: spotify🧑🎨2d0hyoQ5ynDBnkvAbJKORj
2024-11-27T21:43:17.326311Z ERROR client_request{request=GetContext(Artist(ArtistId("2d0hyoQ5ynDBnkvAbJKORj")))}: spotify_player::client::handlers: Failed to handle client request: get related artists: http error: status code 404 Not Found
Screenshots
N/A
Environment
Additional context
N/A
@Saevath commented on GitHub (Nov 27, 2024):
Something similar also happens when I start the application, nothing shows in the Playback and from the log I can see this:
2024-11-27T21:53:10.385492Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) }
2024-11-27T21:53:10.385518Z INFO librespot_connect::spirc: No more tracks left in queue
2024-11-27T21:53:10.453908Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) }
@yawnbo commented on GitHub (Nov 27, 2024):
Same issues, this happens when searching
User playlists still work and appear but new playlists that were made recently aren't appended due to
@j-danner commented on GitHub (Nov 28, 2024):
I have the exact same issue...
Might this be related to recent the changes in the web API?
https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api
@ociton commented on GitHub (Nov 28, 2024):
I also gave the exact same issue
Arch, spotify-player-pipewire from aur
@aome510 commented on GitHub (Nov 28, 2024):
Can confirm that I also got many 404 errors. Might be related to the new Spotify API changes. Spotify always breaks their APIs 🤦 . I'll take a look over the weekend to see how to fix/mitigate this issue.
@bartlibert commented on GitHub (Nov 29, 2024):
For me, it works fine if I use the default client_id.
If I use my own one, it's broken.
Seems consistent with the changes introduced in the api, as my own app is still "in development" and as such is considered a "new" app that has no access to the relevant web API access points.
So I have to choose now: spotify connect or searching...
@aome510 commented on GitHub (Nov 29, 2024):
one thing I just found out is that this 404 error only happens if you use your own
client_id, i.e. to set up Spotify Connect. In other words, to work-around this issue, you can unsetclient_idin yourapp.tomlto use the default Spotifyclient_idI feel like this can be worked around further by implementing a separate client just for Spotify Connect, which I will play around over the weekend
@Saevath commented on GitHub (Nov 30, 2024):
I can confirm that using the default Spotify client_id has fixed the issue for me.
@aome510 commented on GitHub (Nov 30, 2024):
Should be fixed with #618. Can anyone try latest
masterand confirm it's the case?@ekattsim commented on GitHub (Dec 1, 2024):
Great work! Works perfectly on mac os after building master.
@ociton commented on GitHub (Dec 1, 2024):
when will it be merged into aur package?