From c6ee50dcebe7e5c3677b4dfa32f7cf176fc22652 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 28 Oct 2020 17:21:52 -0700 Subject: mpd: install mpd on linux default configuration is to rely on the nas to manage the library, and to use samba to access the files. --- Makefile | 1 + config/mpd/mpd.conf | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 config/mpd/mpd.conf diff --git a/Makefile b/Makefile index c1ad336..32a6a55 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ desktop: @ln -sf $(PWD)/xsession $(HOME)/.xsession @ln -sf $(PWD)/Xresources $(HOME)/.Xresources @ln -sf $(PWD)/config/i3 $(HOME)/.config/i3 + @ln -sf $(PWD)/config/mpd $(HOME)/.config/mpd @ln -sf $(PWD)/config/user-dirs.dirs $(HOME)/.config/user-dirs.dirs .PHONY: modmap diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf new file mode 100644 index 0000000..0ca24c7 --- /dev/null +++ b/config/mpd/mpd.conf @@ -0,0 +1,21 @@ +music_directory "smb://nas.home/music" + +log_file "syslog" + +bind_to_address "localhost" +port "6600" + +auto_update "yes" + +database { + plugin "proxy" + host "nas.home" + port "6600" +} + +audio_output { + type "pulse" + name "pulse audio" +} + +filesystem_charset "UTF-8" -- cgit 1.4.1