From 0b17a0c3bd9aa7e4fbeacaa7d4aaac33846d1305 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 11 Feb 2017 20:43:17 +0100 Subject: [PATCH] Add mpd config --- tools/mediaplayer/mpd/mpd.conf | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tools/mediaplayer/mpd/mpd.conf diff --git a/tools/mediaplayer/mpd/mpd.conf b/tools/mediaplayer/mpd/mpd.conf new file mode 100644 index 0000000..be7c820 --- /dev/null +++ b/tools/mediaplayer/mpd/mpd.conf @@ -0,0 +1,41 @@ +# copy me in /etc/mpd.conf + +music_directory "/opt/musics" +playlist_directory "/var/lib/mpd/playlists" +db_file "/var/lib/mpd/database" +log_file "/var/lib/mpd/log" +pid_file "/var/lib/mpd/pid" +state_file "/var/lib/mpd/state" +user "mpd" +bind_to_address "localhost" +bind_to_address "/var/lib/mpd/socket" +# port "chooseOneOrComment" +restore_paused "no" + +audio_output { + type "alsa" + mixer_type "software" +# device "plug:upmix_21to51" + name "sound 5.1" + auto_resample "no" + # options "dev=dmixer" + # device "plug:dmix" +} + +audio_output { + type "fifo" + name "fifo..." + path "/tmp/mpd.fifo" + format "48000:16:2" +} + +filesystem_charset "UTF-8" +id3v1_encoding "ISO-8859-1" + + +# See: /usr/share/doc/mpd/mpdconf.example + +#pid_file "/var/run/mpd.pid" +#db_file "/var/lib/mpd/mpd.db" +#state_file "/var/lib/mpd/mpdstate" +#playlist_directory "/var/lib/mpd/playlists"