Closed zsoltiv closed 3 years ago
Your MPD version is 7 bug-fix releases behind and thus unsupported. You omitted your configuration and the log.
I apologize, I forgot to check wether I was on the latest version, however, I just updated to 0.22.10 and the issue persists. The logs don't show anything when changing the volume. Here's my mpd.conf:
audio_output {
type "alsa"
name "PipeWire"
}
input {
plugin "curl"
}
music_directory "/mnt/media/Music/"
db_file "~/.config/mpd/database"
playlist_directory "~/.config/mpd/playlists/"
pid_file "~/.config/mpd/pid"
log_file "~/.config/mpd/mpd.log"
And here is the log:
Aug 09 18:39 : exception: Bad song index
Aug 09 18:44 : exception: Failed to play on "PipeWire" (pulse): disconnected
Aug 09 18:44 : exception: Failed to open audio output
Aug 09 18:44 : player: played "moody/[DREAM_56] - DARKPYRAMID - A Heart Full Of Love/DARKPYRAMID - 12 - Outside The Pyramid.flac"
Aug 09 18:45 : exception: Failed to read mixer for 'PipeWire': no such mixer control: PCM
Aug 09 18:45 : exception: Failed to open mixer for 'PipeWire': no such mixer control: PCM
Aug 09 18:48 : exception: Number too large: 53421231
Aug 09 18:51 : player: played "moody/Wuso/w u s o 命 - You'll Be Okay- I Promise/w u s o 命 - You'll Be Okay, I Promise - 10 You'll Be Okay, I Promise.flac"
Your log explains it to you:
Aug 09 18:45 : exception: Failed to read mixer for 'PipeWire': no such mixer control: PCM
You did not configure the mixer properly (or rather: not at all), so MPD tries lousy defaults which don't work. See https://mpd.readthedocs.io/en/stable/plugins.html#alsa-plugin for details.
Hint: MPD git-master has native PipeWire support.
I see, thank you for the hint.
Bug report
Describe the bug
Can't set MPD's volume via
mpc
or other clients when using pipewire-alsa or alsa-plugins with PulseAudio.Output of
mpc volume
:volume: n/a
Expected Behavior
MPD's volume can be changed from clients (
mpc volume 70
for instance).Actual Behavior
The volume doesn't change.
Version