NB mpd (local) user setup

Before reading, please check original link https://wiki.archlinux.org/index.php/Music_Player_Daemon. There is no specific settings, to be honest 😉

If you want to use “bit-perfect” (huh) output, please always check correct output device, never use pulseauidio (I don’t know where this crap is in use) – sometimes problem occurred, for example, in deadbeef (which awesome too, but for personal preferences i don’t use it right now).

# arch
yaourt -S mpd mpc cantata #this awesome gui with lastfm support
mkdir -p ~/.config/mpd/playlists
cat << EOF > .config/mpd/mpd.conf # use with care 😉
db_file            "~/.config/mpd/database"
log_file           "~/.config/mpd/log"

# Optional
music_directory    "/storarray/music"
playlist_directory "~/.config/mpd/playlists"
pid_file           "~/.config/mpd/pid"
state_file         "~/.config/mpd/state"
sticker_file       "~/.config/mpd/sticker.sql"

audio_output {
        type            "alsa"
        name            "DSD1796 DAC"
        device          "hw:1,0"        # optional
#       format          "44100:16:2"    # optional
        mixer_device    "1"       # optional
        mixer_control   "HIFI-Ref Output Playback Volume"         # optional
        mixer_index     "1"             # optional

# autostart
cat GNUstep/Library/WindowMaker/autostart  | grep mpd
pgrep mpd>/dev/null || mpd .config/mpd/mpd.conf


Leave a Reply