mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[GH-ISSUE #154] No option to configure Zeroconf port #96
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#96
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 @odiroot on GitHub (Dec 19, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/154
There is no configuration option to choose a specific Zeroconf port.
Both librespot-java and spotifyd/librespot had this option before.
Currently go-librespot is selecting a random port. It works great with Spotify Connect indeed until you run it behind a firewall.
With a firewall running (e.g. firewalld) you would have to go and update the rules for the current random port selected by go-librespot. Otherwise your instance of go-librespot is not discoverable from other Spotify-running devices.
Caveat: this still works if you use credentials storage. Because in that case go-librespot establishes its own connection to Spotify servers and "presents itself" to other devices as a sink. Still, without credential storage the service is not discoverable.
@devgianlu commented on GitHub (Dec 20, 2024):
You're right, this was missing. I've implemented it, let me know if it works for you!
@odiroot commented on GitHub (Dec 20, 2024):
Thank you. Yes it does. That was quick :)