dotfiles/config/mpd/mpd.org
2024-08-07 14:58:48 -05:00

1.3 KiB

MPD Settings

Directories

Check for music files in ~/Music.

music_directory "~/Music"

Put playlists at ~/.config/mpd/playlists.

playlist_directory "~/.config/mpd/playlists"

Put database at ~/.config/mpd/database.

db_file "~/.config/mpd/database"

Put log file at ~/.config/mpd/log.

log_file "~/.config/mpd/log"

Put PID file at ~/.config/mpd/pid.

pid_file "~/.config/mpd/pid"

Put the state file at ~/.config/mpd/state.

state_file "~/.config/mpd/state"

Put the sticker file at ~/.config/mpd/sticker.sql.

sticker_file "~/.config/mpd/sticker.sql"

Use UTF-8 in the file system.

filesystem_charset "UTF-8"

Network

Run MPD on localhost.

bind_to_address "localhost"

Outputs

Output to PipeWire.

audio_output {
    type "pipewire"
    name "Pipewire"
    mixer_type "hardware"
    enabled "yes"
}

Output to FIFO.

audio_output {
    type "fifo"
    name "my_fifo"
    path "~/.config/mpd/mpd.fifo"
    format "44100:16:2"
}