Skip to content

Install raspotify

Michael edited this page Sep 14, 2023 · 29 revisions

Play Spotify on your Amiga.

A Spotify Premium Account is required for this.

To learn more about this project, have a look here: https://github.com/dtcooper/raspotify

Spotify_1-75%

Spotify started and running from Amiga Shell. You need to start 'piaudio' first.

Support for ARMv6 (Pi v1 and Pi Zero v1.x) has been dropped in the newest version.

0.31.8.1 was the last version to be built with ARMv6 support.

"You can install and run that version on an ARMv6 device, but you will never get updates and doing so is completely unsupported."

# Install version for Zero2 and up

curl -sL https://dtcooper.github.io/raspotify/install.sh | sh

# install libsox

sudo apt install sox libsox-fmt-all

# install libasound

sudo apt install libasound2-plugins libasound2

# start sudo

sudo su

# Copy and paste all text below, and hit <enter> :

echo '#\!/bin/sh' > /usr/local/bin/Spotify\
echo 'librespot --name raspotify --device-type computer --initial-volume 95 --backend pipe |\
\sox -t raw -b 16 -e signed -c 2 -r 44.1k - \-b 16 -e signed -c 2 -r 44.1k -t alsa amiga' >> /usr/local/bin/Spotify

# make it executable

chmod a+x /usr/local/bin/Spotify

# Press <ctrl+d> to exit su (super user) promt.

# Edit raspotify conf file

sudo nano /etc/raspotify/conf

# scroll down in the conf until you find 'Device Name'

# add this line:

LIBRESPOT_NAME="raspotify"

# Save and exit by pressing <ctrl+x>, then press <y>, and hit <enter>

Your Amiga now can be accessed as 'raspotify' from your Spotify player

next step: Install an ftp server

Clone this wiki locally