I have setup pipewire and everything works for except mpd. (alsa)
(working with pipewire = mpv , firefox , tauon music box)
I run mpd as a system server not as user. I’m not sure if I need to change this to user, as pipewire seems to run as user only not system.
I have also removed any trace of pulseaudio. Only need alsa
$ systemctl --user status mpd.service
○ mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/user/mpd.service; disabled; preset: enabled)
Active: inactive (dead)
TriggeredBy: × mpd.socket
Docs: man:mpd(1)
man:mpd.conf(5)
$ systemctl status mpd.service
● mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/mpd.service.d
└─00-arch.conf
Active: active (running) since Mon 2023-01-02 15:29:58 AEST; 3h 23min ago
TriggeredBy: ● mpd.socket
Docs: man:mpd(1)
man:mpd.conf(5)
Main PID: 504 (mpd)
Tasks: 3 (limit: 38399)
Memory: 91.4M
CPU: 1.716s
CGroup: /system.slice/mpd.service
└─504 /usr/bin/mpd --systemd
Jan 02 15:29:35 archlabs-dk systemd[1]: Starting Music Player Daemon...
Jan 02 15:29:37 archlabs-dk mpd[504]: Ignoring the 'pid_file' setting in systemd mode
Jan 02 15:29:37 archlabs-dk mpd[504]: Jan 02 15:29 : decoder: Decoder plugin 'wildmidi' is unavailable: configuration file>
Jan 02 15:29:58 archlabs-dk systemd[1]: Started Music Player Daemon.
lines 1-19/19 (END)
part of my mpd.conf
##audio_output {
## type "pipewire" <<<<<<<< I have no sound if use pipewire.
## name "Pipewire Sound Server"
## buffer_time "50000" # (50ms); default is 500000 microseconds (0.5s)
##}
# An example of an ALSA output:
#
audio_output {
type "alsa"
name "Alsa"
device "hw:1,0" # optional
buffer_time "50000" # (50ms); default is 500000 microseconds (0.5s)
}
Thanks for any help.