raspotify

A Spotify Connect client that mostly Just Works™

View on GitHub

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.

Installation

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:

Raspotify does NOT support ARMv6 Pi’s (Pi v1 and Pi Zero v1.x)

Configuration

The wiki is full of useful information. The Basic Setup Guide is a good place to start.

Bug Reports, Questions and Feature Requests

Please read the Troubleshooting Guide, the Basic Setup Guide, and search though open and closed issues and discussions before opening an issue or asking a question.

Disclaimer

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Special thanks to Paul Lietar, librespot org and its many contributors for librespot, which Raspotify packages (a slightly modded version of). Without librespot, Raspotify would simply not exist.

📻 “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.

Final Note

…and remember kids, have fun!