Thank you for your donation!


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


Solved: How to cure: Spotify Renderer not running
#1
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
Reply
#2
(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
Reply
#3
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
Reply
#4
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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(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
Reply
#6
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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
I'm using an Allo Boss HAT, would that have any bearing?

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

Geoff
Reply
#9
... solved as in http://moodeaudio.org/forum/showthread.php?tid=2977 (Solved: Change thread to SOLVED -How to)... ? :-)
Reply
#10
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
Reply


Forum Jump: