Hello, I've added Avahi broadcasting to main.py, but I've also butchered some other areas for it to work for my instance (RPi Zero, so hard coded the volume).
Also added some RPi GPIO functionality (I've used Spotify-Connect-Web as a media player inside Home Assistant and thought it would be cool if the RPi zero could turn on / off the amplifier it is feeding with audio).
Some of these changes may not be desirable but I put it here for reference / feedback.
It will broadcast on startup and then re-broadcast if / when someone POSTs to the display_name endpoint, thereby updating in the Spotify client.
Tested working with the docker build, Raspberry Pi zero, and Spotify on Android.
Hello, I've added Avahi broadcasting to main.py, but I've also butchered some other areas for it to work for my instance (RPi Zero, so hard coded the volume).
Also added some RPi GPIO functionality (I've used Spotify-Connect-Web as a media player inside Home Assistant and thought it would be cool if the RPi zero could turn on / off the amplifier it is feeding with audio).
Some of these changes may not be desirable but I put it here for reference / feedback.
It will broadcast on startup and then re-broadcast if / when someone POSTs to the display_name endpoint, thereby updating in the Spotify client.
Tested working with the docker build, Raspberry Pi zero, and Spotify on Android.