aboutsummaryrefslogtreecommitdiffstats
path: root/mpd/.config/mpd/mpd.org
blob: b88370ff1692ac65a739eccaf7e7abdb024f6303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
I keep my music in =~/music/ogg=. Playlists go right next to it.

#+BEGIN_SRC conf-space
  music_directory    "~/music/ogg"
  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