music_directory "/mnt/Media/Musics"
playlist_directory "/opt/mpd"
db_file "/opt/mpd/mpd.db"
log_file "/opt/mpd/mpd.log"
pid_file "/opt/mpd/mpd.pid"
state_file "/opt/mpd/mpdstate"
user "mpd"
audio_output {
type "pulse"
name "pulse audio"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
useradd mpd -M -s /bin/false
mkdir /opt/mpd
chown -R mpd:mpd /opt/mpd
edit /etc/pulse/client.conf
autospawn = yes
edit ~/.ncmpcpp/config
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30"
visualizer_in_stereo = "yes"
visualizer_type = "spectrum"
visualizer_look = "+|"