dotfiles/mpd/.config/mpd/mpd.org
Tom Willemse d1db306774 Include more in my music directory
Right now there are two subdirectories:

- ~/music/ogg
- ~/music/mp3

Include both in MPD
2020-04-15 00:49:37 -07:00

38 lines
924 B
Org Mode

I keep my music in =~/music/ogg=. Playlists go right next to it.
#+BEGIN_SRC conf-space
music_directory "~/music"
playlist_directory "~/music/playlists"
#+END_SRC
Store log, state and pid files in =~/.local/share/mpd=
#+BEGIN_SRC conf-space
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"
#+END_SRC
Use pulseaudio to play the music. When I didn't specify this
explicitly it'd use Alsa instead.
#+BEGIN_SRC conf-space
audio_output {
type "pulse"
name "MPD Pulse"
}
#+END_SRC
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.
#+BEGIN_SRC conf-space
audio_output {
type "fifo"
name "Visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
#+END_SRC