librespot-org / librespot

Open Source Spotify client library
MIT License
4.52k stars 544 forks source link

Ability to specify which zeroconf ap address to advertise #1189

Open fplanjer opened 1 year ago

fplanjer commented 1 year ago

I'm running raspotify in a container on an k3s cluster, which uses librespot. The ip adress librespot binds to (the container ip) is not the ipadress that clients should connect to (the node ip adress). The ip advertised with zeroconf is the internal container ip and clients are not able to connect to it.

I'd like to be able to specify the ip addres that should be advertised in zeroconf.

kingosticks commented 1 year ago

Pretty sure there's already an option for this which is documented in the wiki but I'm also pretty sure it's broken and the code ignores the option.