surskitt / docker-mopidy-snapcast

Mopidy running under docker, configured to output to a named pipe for use with snapcast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-mopidy-snapcast

Run Mopidy under docker, outputting to a named pipe for use by snapcast.

Includes the following plugins:

Heavily based on wernight/docker-mopidy.

Usage

docker run --rm --user ${UID}:${GID} \
-v /tmp/sharesound:/tmp/sharesound \
-v $HOME/music:/var/lib/mopidy/media \
-p 6600:6600 -p 6680:6680 \
sharktamer/docker-mopidy-snapcast

Using the above settings, mopidy can be reached with mpd clients on port 6600 and Iris can be accessed from http://localhost:6680/iris.

This image can also be dropped into nolte/docker_compose-audiostation to include the above plugins.

Plugins can be configured by setting the below environment variables (using docker's -e flag):

SPOTIFY_USERNAME
SPOTIFY_PASSWORD
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
SPOTIFY_BITRATE (defaults to 320)

LASTFM_USERNAME
LASTFM_PASSWORD

GMUSIC_USERNAME
GMUSIC_PASSWORD
GMUSIC_DEVICE_ID
GMUSIC_BITRATE (defaults to 320)

If all non defaulting entries from each plugin block are not included, plugin will be disabled.

About

Mopidy running under docker, configured to output to a named pipe for use with snapcast


Languages

Language:Dockerfile 67.5%Language:Shell 32.5%