mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 21:35:49 +03:00
[GH-ISSUE #75] Local API connections refused as of version 0.0.15 #57
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#57
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 @txoof on GitHub (Sep 1, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/75
I was running an older version (likely 0.0.14 or 13), and updated to 0.0.17. After updating to 0.0.17, I'm unable to connect to the local API. All connections are refused. All other features appear to work as expected.
Perhaps there's been a configuration change? I see that as of
dcccf4a, the config schema has been updated, but I'm not sure what's required to get the API setup properly.I've tested the following versions for API functionality:
Build from 0.0.14 result in the following when queried:
Builds from 0.0.15-17 result in the following
All versions were built using the following command:
env GOARCH=arm64 GOOS=linux CGO_ENABLED=1 go build -o ./go-librespot-daemon ./cmd/daemonMy Configuration File:
@devgianlu commented on GitHub (Sep 1, 2024):
The configuration changed, see the README.
@txoof commented on GitHub (Sep 1, 2024):
🤦🏼 Figured it out. The config file has indeed changed. The key
server_porthas changed toportand is now nested under theserversection. The default behavior is to leave the API disabled.For anyone else that stumbles on this here's the proper format:
@txoof commented on GitHub (Sep 1, 2024):
@devgianlu - Skipped right over that section. Thanks for pointing it out.