Raspotify disconnects client when trying to play audio
serman opened this issue · 0 comments
serman commented
On raspberry pi zero 2.
I manually added this patch to the downloaded files:
#117
- The device appears on the Spotify connect devices list. Select it
- Play Song
- Phone is disconnected from the device.
on /var/log/messages:
pulseaudio "Denied access to client with invalid authentication data"
Quick solution: https://unix.stackexchange.com/questions/338687/pulseaudio-as-system-wide-systemd-service
After some experimentation I found that modifying /etc/pulse/system.pa to permit anonymous:
load-module module-native-protocol-unix auth-anonymous=1
With this it works on my setup