mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #1056] Librespot won't start on a custom port using --ap-port=xxxx #494
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#494
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 @yanover on GitHub (Aug 31, 2022).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1056
Describe the bug
I'm trying to run librespot on a specific port.
To reproduce
Steps to reproduce the behavior:
librespotwithlibrespot --ap-port=4070Log
Host (what you are running
librespoton):@kingosticks commented on GitHub (Aug 31, 2022):
<html>That is the port of Spotify's Access Point you want to connect to, not the port librespot listens on.
You can't do this. Librespot doesn't listen on any ports (other than for zeroconf). It connects to a Spotify Access Point server and communicates with other clients via this server.EDIT: Actually, I can't' remember if this is true. Someone else can correct me here please.
@eladyn commented on GitHub (Aug 31, 2022):
There's
--zeroconf-port, which sets the port thatlibrespotlistens on for zeroconf, which is probably what @yanover tries to do?@yanover commented on GitHub (Aug 31, 2022):
Yes this is the option I was looking for, I missed it in the documentation, thank you !
What is not clear to me is which port my Spotify client will listen on.
If I create a service that listens on my pod's port 4070, which port(s) should be exposed outside of the cluster to my client ?
I found in different place that spotify-connect listen on port
TCP and UDP port 57621, is that correct ?@roderickvd commented on GitHub (Aug 31, 2022):
Not a bug. Feel free to chat on https://gitter.im/librespot-org/spotify-connect-resources.