mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #77] Unable to play a playlist in go-librespot using the Spotify API #60
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#60
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 @felixstorm on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/77
When trying to play a playlist using the Spotify API with go-librespot (
0.0.17as well as currentmaster), I get the following error:I added some debug statements and apparently the JSON that is being received looks like this (formatting for readability):
Changing the type of
TargetAliasIdfromstringtouint32seems to fix this problem, but then the code will panic later on:Thereafter I commented out the statements causing the segfault and then it seems to finally work. But unfortunately I do not have any real experience with any of the Spotify Connect APIs to estimate whether my first change is appropriate and why the segfault happens or what to do to fix it...
Also see:
@devgianlu commented on GitHub (Sep 2, 2024):
Since Spotify does not know what type
target_alias_idshould have and we are not using it I've removed it. Also fixed the subsequent problem you had regarding the player options overrides.@felixstorm commented on GitHub (Sep 3, 2024):
Great, thanks a lot!