You are not logged in.

#1 2024-06-23 18:36:03

Morta
Member
Registered: 2019-07-07
Posts: 660

[SOLVED]MPD doesn't play sound

Hi I got following error with this config

/etc/asound.conf

pcm.mpd {
    type softvol
    slave.pcm "default"
    control.name "MPD Playback Volume"
    control.card 0
}

mpd.conf

audio_output {
    type "alsa"
    name "ALSA"
    device "mpd"
    mixer_control "MPD"
}

exception: Failed to open "ALSA" (alsa); Failed to open ALSA device "mpd": Host is down

with

audio_output {
    type "pipewire"
    name "Output with pipewire "
}

i got following error

Jun 23 20:05 : exception: Failed to open "My pipewire output" (pipewire); Failed to connect stream: Host is down

Why?

User mpd is in audio and video group

Last edited by Morta (2024-06-24 06:17:51)

Offline

#2 2024-06-23 20:21:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,844

Re: [SOLVED]MPD doesn't play sound

Does "mpv -ao pipewire thunderstruck.mp3" produce sound?

You're running mpd as system service, not a user service/process?
https://bbs.archlinux.org/viewtopic.php … 0#p2114190

Offline

#3 2024-06-24 06:17:13

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]MPD doesn't play sound

seth wrote:

You're running mpd as system service, not a user service/process?

systemctl enable —now —user mpd.service

I run now as user and adjust the port of the socket.

It‘s working

Offline

Board footer

Powered by FluxBB