OS: Mac OS 10.11.6 (El Capitan) CPU: 2.9 GHz Intel Core i7; メモリ: 8 GB; Docker: 17.04.0-ce(Docker for Mac) Windows OS: Windows 7 64bit; CPU: Intel Core i3-3120M CPU 2.50GHz 2.50Hz; メモリ: 16 GB; Docker: 17.04.0-ce(Docker Toolbox) インストールの動作確認. Docker.el Manage docker from Emacs by @Silex; Desktop. Native desktop applications for managing and montoring docker hosts and clusters. Captain - Manage containers from the MacOSX menu bar by @RickWong; Docker Desktop - Official native app. Only for Windows and MacOS; Dockeron - A project built on Electron + Vue.js for Docker on desktop. All that’s required is Docker on a.nix system with git and Make. It can be built on any amd64 platform that runs docker using Raspberry Pi’s cross-compiler (tested on Ubuntu 16.04 LTS and macOS El Capitan). Docker supports Docker Desktop on the most recent versions of macOS. That is, the current release of macOS and the previous two releases. As new major versions of macOS are made generally available, Docker stops supporting the oldest version and supports the newest version of macOS (in addition to the previous two releases).
Spotify Connect client for the Raspberry Pi that Just Works™.
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 the most 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
),
Play via Bluetooth Speaker
via asound.conf
Edit
/etc/asound.conf
:`> vim /etc/asound.confAdd your bluetooth MAC adresss instead of
XX:XX:XX:XX:XX
:
- Restart service:
> sudo service raspotify restart
via pi-btaudio
Another way to resolve any issues to install pi-btaudio
alongside with raspotify
: https://github.com/bablokb/pi-btaudio(remove pulseaudio if you have it).
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.
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!
Docker Mac El Capitan
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!
Disclaimer
Per librespot’s disclaimer, using librespot — the underlying library behindraspotify — to connect to Spotify’s API “is probably forbidden by them.”We’ve not received word about that, however use at your own risk.
El Capitan Os X
License
Docker Desktop El Capitan
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.