Skip to content

A mostly-turnkey multi-room audio solution, using docker-compose, MPD, and SnapCast Server.

Notifications You must be signed in to change notification settings

johnstcn/docker-mpdsnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mpdsnap

This repository contains a docker-compose.yml file that runs 3 containers:

They are all based on Alpine linux - ideal for running on a NAS, or anything that can run Docker.

mpd outputs audio to a named pipe mpdstate/snapfifo which is also mounted into the snapcast container, which reads from there. mpd also stores its database and playlists in mpdstate. A run.sh script is included to automate the setup process.

Requirements

  • docker
  • docker-compose
  • snapclient installed locally
  • Some music

How to use:

  • Copy the file example.env to .env and edit it as required.
  • Execute ./run.sh and ensure that all the containers are healthy via docker-compose ps.
  • Open http://$HOSTNAME:8080 (or whatever you changed YMPD_PORT to) and queue up some music
  • Run snapclient -h $HOST and enjoy.
  • Alternatively, open http://localhost:6680/mpd.ogg in your preferred music player (vlc works perfectly).

Inspiration and thanks

Contributions

MRs are welcome!

About

A mostly-turnkey multi-room audio solution, using docker-compose, MPD, and SnapCast Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published