Run Mopidy under docker, outputting to a named pipe for use by snapcast.
Includes the following plugins:
- mopidy-spotify
- mopidy-gmusic
- mopidy-soundcloud
- mopidy-scrobbler
- mopidy-pandora
- mopidy-youtube
- mopidy-iris
Heavily based on wernight/docker-mopidy.
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.