Files
mopidy-docker/config/mopidy.conf.example

61 lines
1.0 KiB
Plaintext

[core]
config_dir = ~/config
restore_state = true
[file]
enabled = true
media_dirs = /var/lib/mopidy/media
follow_symlinks = true
[local]
enabled = true
[logging]
verbosity = 0
color = true
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
timeout = 5000
metadata_blacklist =
# Get this account's API credentials at https://mopidy.com/ext/spotify/,
# then generate the playback credentials blob with:
# scripts/refresh-spotify-creds.py
[spotify]
enabled = true
client_id =
client_secret =
[bandcamp]
enabled = false
#identity =
#soundcloud
#enabled = true
[webhooks]
enabled = true
urls =
tokens =
[audio]
# Example output to a Snapcast TCP stream; adjust host/port per instance.
output = audioresample ! rgvolume ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=snapcast.service port=4006 async=False