mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #657] spotify_player unable to connect to default device, and JSON parse errors during search #1319
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#1319
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 @zeffo on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/657
Describe the bug
spotify_player is unable to connect to the default device after launch, with Spotify Connect configured (with a custom client ID). Playing a track will successfully connect to the device and start playback.
Additionally, trying to search a track occasionally results in a JSON parse error.
To Reproduce
Expected behaviour
spotify_player connects to the default device, and searching for a track yields results.
Log and backtrace
backtrace is empty. Log: https://0x0.st/8iVM.log
Relevant errors:
2025-01-06T05:40:16.511429Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404) }(after launching, perhaps related to the device connection issue?)2025-01-06T05:40:27.627403Z ERROR client_request{request=Search("doechii")}: spotify_player::client::handlers: Failed to handle client request: json parse error: invalid type: null, expected a boolean at line 1 column 5284: invalid type: null, expected a boolean at line 1 column 5284(after searching)Environment
@zeffo commented on GitHub (Jan 15, 2025):
Seems to have been fixed, probably spotify API error :)