MPD on Fedora with Pulse Audio

What I am intending to do is to setup MPD "dedicated" server.

Edit /etc/mpd (pipewire) Fedora 34 and later

audio_output {
    type "pipewire"
    name "PipeWire"
 }

Edit /etc/mpd (pulseaudio)

audio_output {
type            "pulse"
name            "Aerion Pulse Daemon"
device "hw:0,0"
format "44100:16:2"
}

Edit /etc/init.d/mpd and add next line:

 /usr/bin/pulseaudio --start --log-target=syslog &  between lines: {{{ /usr/bin/pulseaudio --start --log-target=syslog &daemon $mpd }}}

Edit /etc/pulse/default.pa file and add after the last line:

 load-module module-native-protocol-tcp listen=0.0.0.0 auth-anonymous=1 

Enjoy your MPD Server. No need to be logged on the server ...


CategoryHowto