schnutibox/assets/prepare/templates/mopidy.conf.tmpl

29 lines
533 B
Cheetah

[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy/
[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo
mixer = alsamixer
mixer_volume = 100
[alsamixer]
card = 0
control= Headphone
[mpd]
hostname = 0.0.0.0
max_connections = 200
[youtube]
enabled = true
{{if .Spotify}}
[spotify]
enabled = true
username = {{.SpotifyUsername}}
password = {{.SpotifyPassword}}
client_id = {{.SpotifyClientID}}
client_secret = {{.SpotifyClientSecret}}
{{end}}