aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/config
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2022-09-09 16:28:03 +0200
committerRenken <renken@shione.net>2022-09-09 16:28:03 +0200
commita1ec19255cc45f7ddf56d41d0f931d77215566ed (patch)
tree64e468460d176b66e6b1807dacdc6c112a2ff436 /nichijou/home/config
parente03de7eda440aec21a806b53ffd19e4ec5d46fc1 (diff)
downloadshione-a1ec19255cc45f7ddf56d41d0f931d77215566ed.tar.gz
shione-a1ec19255cc45f7ddf56d41d0f931d77215566ed.zip
home: configure mpd
Diffstat (limited to 'nichijou/home/config')
-rw-r--r--nichijou/home/config/mpd/mpd.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/nichijou/home/config/mpd/mpd.conf b/nichijou/home/config/mpd/mpd.conf
new file mode 100644
index 0000000..24edf9b
--- /dev/null
+++ b/nichijou/home/config/mpd/mpd.conf
@@ -0,0 +1,28 @@
+music_directory "~/mu"
+playlist_directory "~/.config/mpd/playlists"
+db_file "~/.config/mpd/mpd.db"
+log_file "~/.config/mpd/mpd.log"
+pid_file "~/.config/mpd/mpd.pid"
+state_file "~/.config/mpd/mpdstate"
+sticker_file "~/.config/mpd/sticker.sql"
+
+audio_output {
+ type "pulse"
+ name "pulseaudio"
+ #mixer_type "software"
+ #mixer_control "PCM"
+
+}
+
+audio_output {
+ type "httpd"
+ name "HTTP Stream"
+ encoder "vorbis" # optional, vorbis or lame
+ port "8001"
+ quality "5.0" # do not define if bitrate is defined
+# bitrate "320" # do not define if quality is defined
+# format "44100:16:1"
+}
+
+filesystem_charset "UTF-8"
+bind_to_address "0.0.0.0"