I have mpd running as a system service and as user
mpd
. Since mpd is a system service and pulse audio is session-based, I have to stream music from mpd to the currently active pulse session daemon. This is done using the module-native-protocol-tcp module
configured with auth-anonymous=1 auth-cookie-enabled=0 listen=0.0.0.0
(loose, I know, but for testing purposes)
The output in mpd.conf looks like this:
audio_output {
type "pulse"
name "My (loopback) Pulse Output"
server "localhost"
}
Now when I run a song in mpd it complains:
pulse_output: "My (loopback) Pulse Output" [pulse] failed to play: suspended
output: Failed to open audio output
What is wrong here? Is this a bug?
What I tried :
Running as my user (systemd)
Running as my user (systemd) and set the user in mpd.conf
Running as root and set the user in mpd.conf
Setting the exact sink name
Asked by ManuelSchneid3r
(4455 rep)
Jul 29, 2015, 10:23 PM
Last activity: Mar 21, 2023, 07:10 PM
Last activity: Mar 21, 2023, 07:10 PM