Thank you for your donation!


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


Problem: V4.4 Spotify - track selection problems
#22
(03-03-2019, 02:56 PM)Cussco Wrote:
(02-22-2019, 08:34 PM)theengineer Wrote: Strange - worked like a charm for me.
And I do not envy you having to do the compilation on an RPi Zero.

In the meanwhile I would be glad if anybody finds a need for my binary:
Commit height = daeeeaa (Link to Github)
Built on RPi 3 (not compatible with RPi 1 & Zero)
Download Link

  1. Copy the binary to your RPi (Filezilla / SCP)
  2. Disable the Spotify renderer service in the webinterface (Config --> Audio)
  3. Move the binary to /usr/local/bin/librespot
  4. Re-enable the renderer

I followed these instructions on 3b+ and now spotify does not work at all. No longer see moode from spotify. Is it a file permission problem? Any ideas.

@Cussco

You should see ownship/permissions like the following:

Code:
pi@moode:/usr/local/bin $ ls -l librespot
-rwxr-xr-x 1 root staff 11304548 Mar  2 09:25 librespot

If the "x" (execute) flags are missing, the renderer won't start.


When the librespot renderer has been enabled you should see it among the running processes, something like:

Code:
pi@moode:/usr/local/bin $ ps aux|grep librespot
root       961  0.0  0.3   8256  3348 ?        S    Mar02   0:00 sudo librespot --name Moode Spotify --bitrate 160 --initial-volume 0 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device plughw:1 --onevent /var/local/www/commandw/spotevent.sh
root       975  0.4  0.8  27868  8428 ?        Sl   Mar02   3:59 librespot --name Moode Spotify --bitrate 160 --initial-volume 0 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device plughw:1 --onevent /var/local/www/commandw/spotevent.sh
pi       23214  0.0  0.0   4372   576 pts/0    S+   10:40   0:00 grep --color=auto librespot

That third entry is not relevant. It's an artifact of the way I used ps|grep.

Regards,
Kent
Reply


Messages In This Thread
RE: V4.4 Spotify - track selection problems - by TheOldPresbyope - 03-03-2019, 03:49 PM

Forum Jump: