Moode Forum

Full Version: How to cure: Spotify Renderer not running
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Despite switching the Spotify renderer on (in Audio Configuration), I am unable to connect to Moode from Spotify.  If I type 'pgrep librespot' into SSH, I get no response, indicating that the Spotify renderer is not running (I think).  I have restarted my Pi, but no change.  I am running 7.0.1 2020-12-23.

Any ideas?

Thanks,
Geoff


See posting #8
(01-20-2021, 06:21 PM)GStevens Wrote: [ -> ]Despite switching the Spotify renderer on (in Audio Configuration), I am unable to connect to Moode from Spotify.  If I type 'pgrep librespot' into SSH, I get no response, indicating that the Spotify renderer is not running (I think).  I have restarted my Pi, but no change.  I am running 7.0.1 2020-12-23.

Any ideas?

Thanks,
Geoff

Yes, if it's running, then 'pgrep librespot' should have returned a process id.

We'll have to see more information---such as the output from 'moodeutl -s' for starters.

Regards,
Kent
Thanks. I'm new to moode, so please bear with me.

The moodeutl command generated a lot of info - how do I put tha into a scrolling window?
Looking through it, it does state:
20210118 165547 worker: Spotify renderer (available)
20210118 165547 worker: Spotify renderer (started)

Also:

M P D S E T T I N G S

Version = 0.22.3_p0x3
Volume mixer = disabled
ALSA device = hw:0
SoX resampling = disabled
Selective resampling = disabled
SoX quality = high
SoX multithreading = off
DSD over PCM (DoP) = no
Replaygain = auto
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 4 (MB)
Output buffer size = 128 (MB)
Max playlist items = 16384
Input cache = Disabled

and:

S P O T I F Y S E T T I N G S

Friendly name = Moode Spotify
ALSA device = plughw:0
Bit rate = 160
Initial volume = 0
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Autoplay = No
Resume MPD = Yes

plus:

20210118 165547 worker: UPnP browser (available)
20210118 165547 worker: UPnP browser (started)

Geoff
What model Pi are you running.? If its one of the arm6 based models then librespot crashes due to a bad compile flag It's fixed in upcoming 7.1.0 release or you can download the new binary from the repo and install it Something like below should work.

Code:
wget https://github.com/moode-player/moode/raw/develop/other/librespot/librespot-dev-6a4bc83
sudo mv ./librespot/librespot-dev-6a4bc83 /usr/local/bin/librespot
sudo chmod 0755 /usr/local/bin/librespot
(01-20-2021, 07:51 PM)Tim Curtis Wrote: [ -> ]What model Pi are you running.? If its one of the arm6 based models then librespot crashes due to a bad compile flag It's fixed in upcoming 7.1.0 release or you can download the new binary from the repo and install it Something like below should work.

Code:
wget https://github.com/moode-player/moode/raw/develop/other/librespot/librespot-dev-6a4bc83
sudo mv ./librespot/librespot-dev-6a4bc83 /usr/local/bin/librespot
sudo chmod 0755 /usr/local/bin/librespot

It's a Pi 4B with 8GB.  Should I proceed with your suggestion?

Thanks,
Geoff
it must be a different problem. The only other crash scenario I'm aware of with librespot is when the account is not a Premium account. In this case librespot crashes.
I'm using an Allo Boss HAT, would that have any bearing?

Thanks,
Geoff
Solved - simply changing WiFi address assignment from Static to DHCP.

Geoff
... solved as in http://moodeaudio.org/forum/showthread.php?tid=2977 (Solved: Change thread to SOLVED -How to)... ? :-)
So this is happening with any 32-bit only Pi's (Pi Nano, older B's, A's, etc.)

Also the command is wrong. You have to take out the leading period in the second line:

Code:
wget https://github.com/moode-player/moode/raw/develop/other/librespot/librespot-dev-6a4bc83
sudo mv /librespot/librespot-dev-6a4bc83 /usr/local/bin/librespot
sudo chmod 0755 /usr/local/bin/librespot

This will also eventually crash. But it will run right away, regardless of Spotify settings in the moOde settings. It shows up in Spotify as simply "moode"

If it does crash, just run this command:

Code:
librespot -n moode

Once again, it will still crash after a few minutes if not selected from Spotify. Once connected though, it should stay connected. 

I look forward to 7.1.0
Pages: 1 2