A very small ARM (&AMD) image (5Mo) and ready to use for Raspberry pi
10K+
Small Open source Spotify client on alpine ( ~5Mo ) to run on a raspberry pi.
It's adapted it to make it work with a workstation as well. If you have any idea for improvement, let me know
source: https://gitlab.com/easy-docker/spotify using: https://github.com/librespot-org/librespot
you can provide a script, you can found an example on the git project
it to see if it works... run this on your raspberry / system
docker run --name librespot-test --rm -d --device=/dev/snd:/dev/snd --network=host --privileged flori4n/librespot:latest librespot --name "librespot-test"
to remove it
docker stop librespot-test
version: "3.8"
services:
spotify:
name: librespot
privileged: true
image: flori4n/librespot:latest
network_mode: host
working_dir: /data
restart: unless-stopped
volumes:
- $PWD/script.sh:/data/script.sh
devices:
- /dev/snd:/dev/snd:rw
command: librespot /
--enable-volume-normalisation /
--onevent /data/script.sh /
--name "Raspotify" /
--bitrate 320 /
--device-type=speaker /
--disable-audio-cache /
--initial-volume 60 /
--disable-gapless /
--autoplay /
--initial-volume=70
Content type
Image
Digest
sha256:6e34813b8…
Size
6.4 MB
Last updated
3 days ago
docker pull flori4n/librespot