Snapcast + Librespot: Synchronized multi-room audio streaming from Spotify with web UI control
754
Stream Spotify audio to multiple devices in perfect sync across your home network.
This Docker image combines Snapcast (multi-room synchronized audio) with Librespot (open-source Spotify client) to create a powerful whole-home audio solution. Stream from Spotify to multiple speakers/devices with perfect synchronization.
✨ Easy Setup - No Spotify credentials needed, uses Spotify Connect discovery 🎵 Multi-Room Audio - Synchronize playback across unlimited devices 🌐 Web Interface - Snapweb UI included for browser-based control 🚀 Optimized Build - Small Alpine-based image with pre-built components 🔧 Configurable - Customize device name, bitrate, and advanced settings 📱 Universal Control - Works with any Spotify app (phone, desktop, web)
Librespot v0.8.0 Snapcast v0.34.0 Snapweb v0.9.2
docker run -d \
--name snapcast-spotify \
--network host \
--device /dev/snd:/dev/snd \
-e SPOTIFY_DEVICE_NAME="My Snapcast" \
-e SPOTIFY_BITRATE=320 \
-v snapcast-cache:/var/cache/snapcast \
panchonin/snapcast-spotify:latest
Then open Spotify, play a song, and select your device from the available devices list!
Access Points
- Web UI: http://<host-ip>:1780
- JSON-RPC API: http://<host-ip>:1780/jsonrpc
- Snapcast Control: Port 1704
- Snapcast Streaming: Port 1705
Requirements
- Linux host (for mDNS discovery)
- Spotify Premium account
- Docker with host network mode
Use Cases
- 🏠 Whole-home audio system
- 🎉 Multi-room party setup
- 🔊 Synchronized speaker arrays
- 📻 DIY streaming audio solution
Documentation
Full documentation, troubleshooting, and advanced configuration:👉 https://github.com/panchonin/snapcast-spotify
Components
- https://github.com/badaix/snapcast - Synchronous multiroom audio player
- https://github.com/librespot-org/librespot - Open source Spotify client
- https://github.com/badaix/snapweb - Web interface for Snapcast
License
GPLv3 / MIT (see individual components)
Content type
Image
Digest
sha256:df2b9082b…
Size
16.1 MB
Last updated
11 months ago
docker pull panchonin/snapcast-spotify