Raspberry PI as Spotfiy Streaming Machine

For a long time I was using the Volumio Project as a bridge for Spotify. It’s a nice project, but the Spotify Plugins are not very stable. Therefore I was looking for an alternative and found the Raspotify Project

https://github.com/dtcooper/raspotify

So first action is to install a Raspberry Pi OS. I have choosen the minimal image. As this is a headless machine ssh needs to be activated. The easiest way to achive this is to add a file named „ssh“ in the root of the boot drive. Don’t forget: The initial user is named pi with the password raspberry. The following steps are installing the raspotify in the latest version

# base update
sudo apt update
sudo apt upgrade
sudo apt install -y apt-transport-https curl

# add key for raspotify
curl -sSL https://dtcooper.github.io/raspotify/key.asc | sudo apt-key add -v -
echo 'deb https://dtcooper.github.io/raspotify raspotify main' | sudo tee /etc/apt/sources.list.d/raspotify.list

# install raspotify
sudo apt update
sudo apt install raspotify