Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Official moOde 7.4.y support thread
#52
(09-29-2021, 06:27 PM)brotakul Wrote:
(09-29-2021, 03:46 AM)brotakul Wrote:
(09-28-2021, 06:52 PM)Tim Curtis Wrote:
(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

Thanks Tim for supporting.
I ran the command and it runs without errors. Also, I see no messages in journalctl when the drop event occurs. Should I also look somewhere else? Should I still also open a bug report with librespot? Thing is, I don't have much to support the bug claim at this point... just what I experience. Thanks again!

OK, I did another test: I streamed on both Spotify Connect and Airplay from my phone to the RPi streamer and I used a second phone as a "witness" displaying MoOde interface. Upon connecting the stream to the RPi, the "Spotify/Airplay Active" message appeared on the second phone, as expected. When I disconnected the stream from Spotify though, it didn't also appear disconnected on the second phone, even if the music did stop playing on MoOde. I had to manually disconnect the stream directly from the second phone so the RPi to become available again in the Spotify Connect devices list.
It seems that, for some reason, the connection is not closed gracefully, so the RPi remains hanging.

Is this of any help? Is there any way to further check this out? Something more.. technical, maybe? At least to verify if it's a MoOde or librespot issue?

I'm not able to repro these issues. Spotify just works on my end. I can have a second client displaying moOde UI and both clients will display the "Spotify Active" overlay and then regardless of whether I disconnect the Spotify session from client or from the overlay screen once the session ends the overlay screen goes away on both clients.

Maybe try a fresh 740 image.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Official moOde 7.4.0 support thread - by Tim Curtis - 09-29-2021, 08:13 PM
Linn Radio URLs not working - by Britracer - 10-07-2021, 01:29 AM
RE: Linn Radio URLs not working - by Tim Curtis - 10-07-2021, 11:57 AM
RE: Linn Radio URLs not working - by suzywong - 10-08-2021, 07:37 PM

Forum Jump: