Upgrading Spotify-connect on Pi MusixBox

      2 Comments on Upgrading Spotify-connect on Pi MusixBox

You might have noticed that when playing music using Spotify-connect on the Pi MusicBox that there is something weird going on. When changing songs or playlists the MusicBox doesn’t follow your commands.

It seems that this is due to an old version of the Librespot files. So login as root, using SSH, on your Pi MusicBox and execute the following command sequence;

curl -sSL https://dtcooper.github.io/raspotify/key.asc | sudo apt-key add -v -
echo 'deb https://dtcooper.github.io/raspotify jessie main' | sudo tee /etc/apt/sources.list.d/raspotify.list
apt-get update
apt-get -y install raspotify
ln -f -s /usr/bin/librespot /opt/librespot/librespot
reboot

Alternatively you can try;

service librespot stop
cd /opt/librespot
wget https://github.com/pimusicbox/librespot/releases/download/v20180529-1e69138/librespot-linux-armhf-raspberry_pi.zip
unzip librespot-linux-armhf-raspberry_pi.zip
rm librespot-linux-armhf-raspberry_pi.zip
service librespot start

Now enjoy switching playlists and songs as this will work during Spotify-connect playback.

2 thoughts on “Upgrading Spotify-connect on Pi MusixBox

  1. Mike

    Thanks for posting this. I have noticed some issues while using Spotify connect on the Pi Music Box.

    Just wondering if there is a way to confirm the version of Librespot currently in use on my machine vs the new files that would be installed with these procedures?. Since I only built my machine yesterday I am wondering if the latest Music Box install already has these updates.

    Cheers,
    Mike

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.