more info:

mpd needs the following in /etc/mpd.conf otherwise i cant get anything
to happen, so this should surely be added by default:

audio_output {
        type                    "pulse"
        name                    "My pulse output"
}

then (without having done the "load-module module-native-protocol-tcp 
auth-anonymous=1" or the equivalent paprefs fix):
running mpd as user mpd, mpd doesnt work, mpd skips straight through the 
playlist without appearing in pavucontrol, and without playing any sound 
producing errors:
Jun 14 10:29 : Cannot connect to server in PulseAudio output "my pulse output" 
(attempt 1): Connection refused
Jun 14 10:29 : problems opening audio device while playing "Bloody Tourists/03 
- Take These Chains.mp3"
in the errors.log file
running mpd as the current user, mpd works, mpd stream appears in pavucontrol 
mixes properly with other applications
running mpd as root, mpd works, mpd stream appears in pavucontrol, mixes 
properly with other applications

then now doing the fix  "load-module module-native-protocol-tcp 
auth-anonymous=1" or the equivalent paprefs
running mpd as user mpd works, mpd stream appears in pavucontrol, mixes 
properly with other applications
the others still work.

so root and the current user have some permission that the user mpd doesnt, and 
this permission should be added to the user mpd (i think)
note: running mpd as root is not advised

anyone confirm my findings? i dont know enough about manipulating groups
to do much more...

-- 
mpd no access to soundcard using pulseaudio
https://bugs.launchpad.net/bugs/192735
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to