From 10189191f72c35d3929a2041f5d31abab5e38e80 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Tue, 17 Mar 2020 12:08:16 +0100 Subject: [PATCH] Added local user MPD config --- install.conf.yaml | 1 + mpd/mpd.conf | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 mpd/mpd.conf diff --git a/install.conf.yaml b/install.conf.yaml index 3614bd0..148e175 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -15,6 +15,7 @@ ~/.config/geany/filedefs: geany/filedefs ~/.ncmpcpp/config: ncmpcpp/config ~/.ncmpcpp/bindings: ncmpcpp/bindings + ~/.mpd/mpd.conf: mpd/mpd.conf ~/.profile: profile.sh ~/.ssh/config: ssh/config ~/.tmux: tmux diff --git a/mpd/mpd.conf b/mpd/mpd.conf new file mode 100644 index 0000000..6e37347 --- /dev/null +++ b/mpd/mpd.conf @@ -0,0 +1,43 @@ + +# INET binding +bind_to_address "localhost" +port "6600" + +# UNIX binding +bind_to_address "~/.mpd/socket" + + +# Select one of the two options +## Use Local database +db_file "~/.mpd/database" +music_directory "~/Music" + +## Use Remote Database and Files +#database { +# plugin "proxy" +# host "remote" +# port "6600" +#} +#music_directory "~/Music" + +pid_file "~/.mpd/pid" +state_file "~/.mpd/mpdstate" +playlist_directory "~/.mpd/playlists" +sticker_file "~/.mpd/sticker.sql" +log_file "~/.mpd/log" + + +# Audio Outputs +audio_output { + type "pulse" + name "User Pulse Audio" + device "pulse" + mixer_type "hardware" +} + +audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" +}