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

924 B

I keep my music in ~/music/ogg. Playlists go right next to it.

  music_directory    "~/music"
  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"
  }