Raspotify is a Debian package and associated repository for Debian Stable ( Currently Debian 11 “Bullseye” ) and other Debian Stable based/compatible OS’s ( your mileage may vary ) which thinly wraps a fork of the awesome librespot library by Paul Lietar and others up as a systemd daemon.
Raspotify is intended to be used in a headless enviroment. For desktop OS’s spotifyd offers similar functionality and is a better choice. If you’re looking for a turnkey audio solution for Raspberry Pi’s with Spotify Connect support we recommend moOde™ audio player.
Librespot, and therefore Raspotify, requires a premium account.
There are various “guides” floating around online. Most if not all of them are outdated and/or present incorrect information. Don’t follow them.
sudo apt-get -y install curl && curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
Or you can just download the latest .deb package and install it manually from here:
Bug Reports, Questions and Feature Requests
Per librespot’s disclaimer, using librespot — the underlying library behind raspotify — to connect to Spotify’s API “is probably forbidden by them.” We’ve not received word about that, however use at your own risk.
Raspotify and librespot are intended for personal private use. Please DO NOT use Raspotify or librespot in any sort of commercial and/or public presentation. Doing so is a flagrant violation of Spotify’s terms of service and could potentially lead to them blocking all Raspotify and librespot users.
This project is licensed under the MIT License - see the
LICENSE file for details.
📻 “And Now, For Something Completely Different!” 🎙️
Raspotify’s author David Cooper has abandoned being a software engineer to pursue a career as a radio personality. If you find Raspotify useful, you can support him by checking out his radio work here or give him a follow on Twitter.
On a related note, @JasonLG1979 has become the de-facto maintainer of the project. So an additional thank you to him as well.
If you’d like to buy Jason a Red Bull you can ❤️ Sponsor Him.
…and remember kids, have fun!