928 B
928 B
I keep my music in ~/music/ogg
. Playlists go right next to it.
music_directory "~/music/ogg"
playlist_directory "~/music/playlists"
Store log, state and pid files in ~/.local/share/mpd
log_file "~/.local/share/mpd/mpd.log"
pid_file "~/.local/share/mpd/mpd.pid"
db_file "~/.local/share/mpd/mpd.db"
state_file "~/.local/share/mpd/mpdstate"
Use pulseaudio to play the music. When I didn't specify this explicitly it'd use Alsa instead.
audio_output {
type "pulse"
name "MPD Pulse"
}
Add an output for visualization. I don't use this often as usually it bugs me a lot when it starts to lose sync, but it's still fun from time to time.
audio_output {
type "fifo"
name "Visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}