# MPD configuration — per-user service (systemctl --user) # Managed setup: MPD + rmpc + cava music_directory "~/Music" playlist_directory "~/.local/share/mpd/playlists" db_file "~/.local/share/mpd/database" state_file "~/.local/share/mpd/state" sticker_file "~/.local/share/mpd/sticker.sql" # Pick up file changes automatically (inotify) auto_update "yes" # Local access only: unix socket for rmpc, loopback TCP for mpc/mpd-mpris. # Never bound to LAN interfaces. bind_to_address "/run/user/1000/mpd/socket" bind_to_address "127.0.0.1" port "6600" restore_paused "yes" # Main playback output. No format forced: source sample rate/bit depth is # passed through to PipeWire untouched. audio_output { type "pipewire" name "PipeWire" } # Visualiser feed only — fixed cheap format for cava. Playback quality is # unaffected; this is a second, independent output. audio_output { type "fifo" name "Visualizer FIFO" path "/run/user/1000/mpd/fifo" format "44100:16:2" }