MPDSnapSpot is a docker image that runs MPD+Spotify and broadcasts the audio over snapcast.
689
This repo contains the info required to create the MPDSnapSpot docker container, which can be used as an MPD+Spotify endpoint, and stream audio to any number of endpoints simultaneously via snapcast.
When running this docker container, you should be able to attach snapcast clients to the snapcast server, such that they all play the audio stream. Additionally, you should be able to control the mpd server, and the spotify connect endpoint such that the audio is streamed over the snapcast connections.
To use this container you should do the following:
mpd.conf and snapserver.conf in the /config dir when launching the container
example_configsmpd.conf/data for obvious reasonsNOTE: The contents of the snapweb browser-based configuration/status tool are located at the default /usr/share/snapserver/snapweb. To make this available, ensure port 1780 is exposed, and your http doc_root in your snapserver.conf is pointing at that location.
See https://github.com/cthelight/MPDSnapSpot for more info
version: '3.3'
services:
MPDSnapSpot:
image: cthelight/mpdsnapspot
# Feel free to use a macvlan network here instead.
# Just be sure not to use the default (bridge) network, as the bridge will drop
# the spotify connect multicast traffic (rendering spotify connect unusable)
network_mode: host
restart: unless-stopped
volumes:
- '/path/to/music:/music:ro'
- '/path/to/configs/MPDSnapSpot:/config:ro'
- '/path/to/mpd/datat:/data'
Content type
Image
Digest
sha256:30bfa24a0…
Size
337.8 MB
Last updated
10 months ago
docker pull cthelight/mpdsnapspot:v0.6.1