Spotify Connect client for the Raspberry Pi that Just Works™.
In this article we describe a installation procedure of Spotify client on Debian Linux 8 (Jessie). Looking on the Spotify for Linux on spotify.com page we can see a simple instructions which we are going to follow. Sudo apt install spotify-client Once installed, launch the Spotify desktop app from your preferred app launcher or app menu, sign in, and enjoy! Share on Facebook.
tl;dr
Install the Spotify Connect client on your Raspberry Pi,
Introduction
Raspotify is a Spotify Connect client forRaspbian on the Raspberry Pithat Just Works™. Raspotify is aDebian package and associated repositorywhich thinly wraps the awesomelibrespot library byPaul Lietar and others. It works out of the box onall three revisions of the Pi, immediately after installation.
Download Latest Version
Head on over to the releasespage to download themost recent version and install the Debian package. Or followthe directions below.
Requirements
Raspotify works on a Raspberry Pi running Raspbian.You’ll need a Spotify Premium account in orderto use Connect.
Raspotify should work on any Pi but it has been tested on,
- Raspberry Pi (v1) model B
- Raspberry Pi 2 model B
- Raspberry Pi 3 model B and B+
- Raspberry Pi 4
Easy Installation
This command downloads and installs the Debian package and adds its apt repository,which ensures you’ll always be up to date with upstream changes.
That’s it! Plug a speaker into your Pi on your local network, select the devicein Spotify et voilà!
Hard installation
Essentially, here’s what the easy installer does,
Or you can just download the latest .deb package and install it manually fromhere (raspotify-latest.deb
),
Uninstalling
To uninstall, remove the package,
To completely remove Raspotify and its Debian repository from your system try,
Configuration
Raspotify works out of the box and should be discoverable by Spotify Connect onyour local network, however you can configure it by editing /etc/default/raspotify
which passes arguments to librespot.
After editing restart the daemon by running: sudo systemctl restart raspotify
Building the Package Yourself
All that’s required is Docker on a *nix system withgit and Make. Itcan be built on any amd64 platform that runs docker using Raspberry Pi’scross-compiler (tested on Ubuntu 16.04 LTS and macOS El Capitan).
There should be a built Debian package (a .deb
file) in your project directory.
Spotify Client Windows 10
Note About Raspotify’s APT Repository
You can actually use GitHub to host an APT repository for Raspotify as Ihave done, but that’s very much out of the scope of this Readme. Have a lookat the Makefile’s apt-repo
and apt-deploy
directives, and itsAPT_GPG_KEY
and APT_GH_PAGES_REPO
variables. You’ll at least need thisrepository cloned on GitHub, GitHub Pages enabled for the gh-pages
branch,and a GPG key. I can’t and won’t support anyusers trying to do this at this time, but have fun and good luck!
Troubleshooting
My volume on Spotify is 100% and it’s still too quiet!
Have you tried turning the volume up using the command alsamixer
?
My Raspberry Pi does not use my USB sound card!
Try to replace the following in the file /usr/share/alsa/alsa.conf
:
with
The audio output buzzes a few seconds after audio stops!
This is likely to be ALSA’s Dynamic Audio Power Management (DAPM) shutting downthe sound module of your device to save power. If you want to disable this feature,create a file called snd_soc_core.conf
in /etc/modprobe.d
with this line in:
Once you reboot and play some sound, the issue should be gone.
Other issues
File an issue and if we get it sorted, I’ll add to this list.
Donations
If you’re so inclined, Bitcoin my address is 1PoDcAStyJoB7zZz2mny4KjtjiEu8S44ns
. :)
(I’d rather you donate to librespotinstead, but there’s no public address for those folks.)
Final Note
…and remember kids, have fun!
License
This project is licensed under the MIT License - see the LICENSE
file for details.
Acknowledgments
Special thanks to Paul Lietar forlibrespot (and its additional authors),which Raspotify packages. Without librespot,Raspotify would simply not exist.
Translation(s): English - ?Français - Español - ?Italiano
Spotify is a digital music streaming service that gives you access to millions of songs, podcasts and videos from artists all over the world. There is also an online player on https://play.spotify.com/ |
Debian 8 'Jessie'
Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!
Spotify Windows Client
Add the Spotify repository signing key to be able to verify downloaded packages
Add the Spotify repository
Update list of available packages
Install Spotify
Debian 9 'Stretch'
Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!
NB: You will need to install dirmngr if not already installed
dirmngr is installed in Buster
Add the Spotify repository signing key to be able to verify downloaded packages
Add the Spotify repository
Update list of available packages
Spotify-client Deb Download App
Install Spotify
CategoryProprietarySoftware