33 lines
986 B
Django/Jinja
33 lines
986 B
Django/Jinja
music_directory "{{ mpd_music_directory }}"
|
|
playlist_directory "{{ mpd_playlist_directory }}"
|
|
|
|
db_file "{{ mpd_db_file }}"
|
|
sticker_file "{{ mpd_sticker_file }}"
|
|
state_file "{{ mpd_state_file }}"
|
|
|
|
user "{{ mpd_user }}"
|
|
bind_to_address "{{ mpd_bind_to_address }}"
|
|
log_file "syslog"
|
|
|
|
restore_paused "{% if mpd_restore_paused %}yes{% else %}no{% endif %}"
|
|
auto_update "{% if mpd_auto_update %}yes{% else %}no{% endif %}"
|
|
follow_inside_symlinks "{% if mpd_follow_inside_symlinks %}yes{% else %}no{% endif %}"
|
|
follow_outside_symlinks "{% if mpd_follow_outside_symlinks %}yes{% else %}no{% endif %}"
|
|
|
|
zeroconf_enabled "yes"
|
|
zeroconf_name "{{ mpd_name }}"
|
|
|
|
input {
|
|
plugin "curl"
|
|
verify_peer "yes"
|
|
verify_host "yes"
|
|
}
|
|
|
|
{% for output in mpd_outputs %}
|
|
audio_output {
|
|
{% for k, v in output.items() %}
|
|
{{ k }} "{{ v }}"
|
|
{% endfor %}
|
|
}
|
|
{% endfor %}
|