Added password to mpd

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-02 08:45:18 +02:00
parent 6d2e7dc0c9
commit 71b5e28521
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
5 changed files with 17 additions and 5 deletions

View file

@ -5,16 +5,21 @@ log_file "~/.mpd/log"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
input {
plugin "curl"
}
replaygain "track"
default_permissions "read"
password "{{@@ env['PASS_MPD'] @@}}@read,add,control"
password "{{@@ env['PASS_MPD_ADMIN'] @@}}@read,add,control,admin"
audio_output {
type "fifo"
name "my_fifo"
name "Visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
audio_output {
type "pulse"
name "pulse audio"
name "MPD PulseAudio"
}

View file

@ -0,0 +1 @@
mpd_host = {{@@ env['PASS_MPD'] @@}}@localhost