You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Spotify connect device does not show up on the network with librespot-java.
To Reproduce
Download latest librespot player jar file
Run with sudo java -jar librespot-player-1.6.3.jar
Make sure ZEROCONF is used in config.toml - restart if needed
Expected behavior
Zeroconf announcement should be visible on network and show up as Spotify Connect device in the app on devices connected to the same local network
Screenshots/Stracktraces/Logs
This is in an Ubuntu VM with bridged networking and no firewall on the Ubuntu machine. I'm running into this same issue with both Spocon and the librespot-java player. I decided to try the original librespot and it works fine with zeroconf, the connect item shows up in the Spotify app and the announcement is visible on the network. Below are the ports and protocols used by librespot-java (java) and librespot respectively
Attached are the outputs from Spocon and from librespot-java. I noticed that no addresses are listed in the announcement but I'm not sure if that's intended:
INFO Zeroconf:500 - Announced Service{alias='librespot-java', service='spotify-connect', port=45337, text={VERSION=1.0, CPath=/, Stack=SP}, addresses=[], domain='.local', protocol='tcp', host='Ubuntu-22'}
I dug a bit further into the zeroconf-java repository and it looks like the IP addresses should be added, so I think this is the problem. I don't understand how everything going on with the zeroconf and service code, but somewhere along the chain there must be an issue with adding the addresses from my NIC.
Describe the bug
Spotify connect device does not show up on the network with librespot-java.
To Reproduce
Download latest librespot player jar file
Run with sudo java -jar librespot-player-1.6.3.jar
Make sure ZEROCONF is used in config.toml - restart if needed
Expected behavior
Zeroconf announcement should be visible on network and show up as Spotify Connect device in the app on devices connected to the same local network
Screenshots/Stracktraces/Logs
This is in an Ubuntu VM with bridged networking and no firewall on the Ubuntu machine. I'm running into this same issue with both Spocon and the librespot-java player. I decided to try the original librespot and it works fine with zeroconf, the connect item shows up in the Spotify app and the announcement is visible on the network. Below are the ports and protocols used by librespot-java (java) and librespot respectively
Attached are the outputs from Spocon and from librespot-java. I noticed that no addresses are listed in the announcement but I'm not sure if that's intended:
INFO Zeroconf:500 - Announced Service{alias='librespot-java', service='spotify-connect', port=45337, text={VERSION=1.0, CPath=/, Stack=SP}, addresses=[], domain='.local', protocol='tcp', host='Ubuntu-22'}
Version/Commit
librespot-player-1.6.3.jar
Logs:
librespot-java_output.txt
Spocon_log.txt
The text was updated successfully, but these errors were encountered: