09-28-2021, 06:52 PM
(09-28-2021, 04:21 PM)brotakul Wrote: I have 2 Pi based streamers, both running MoOde 7.4.0 and I have an issue with Spotify connect: I can initially connect to it, plays ok, but if I pause or change volume the connection drops and reverts to local/controlling device (usually my iPhone), on both MoOde streamers.
First I suspected my phone but I tried my wife's and it does the exact same thing.
Then I tried the same switching the stream between my phone and my laptop. It works flawlessly.
So I guess this points to some issue with the 7.4.0 version... or the librespot library? Anybody knows anything about this?
Works fine on my end using iPhone and iMac.
You might try running it from SSH and see if it reports any errors. If so then you could submit an issue to the librespot team.
Code:
# Turn it off in Audio Config
# Run the command below substituting your Spotify name for "RP2 Spotify" after the --name parameter.
sudo librespot --name RP2 Spotify --bitrate 320 --format S16 --initial-volume 0 --volume-ctrl log --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device _audioout --onevent /var/local/www/commandw/spotevent.sh