Howto Get mpd running with pulseaudio in Ubuntu 8.04 (Hardy Heron)
Posted by admin on May 1st, 2008
Email This Post
The daemon is controlled through a client which need not run on the same computer mpd runs on. The separate client and server design allows users to choose a user interface that best suites their tastes independently of the underlying daemon (this package) which actually plays music.
PulseAudio is the standard sound server in Ubuntu Hardy Heron 8.04.
PulseAudio Preferences (paprefs) is a simple GTK based configuration dialog for the PulseAudio sound server.
Install mpd and paprefs using the following command
sudo aptitude install mpd paprefs
In PulseAudio Preferences, make sure these two options are enabled
* Enable network access to local sound devices
* Don’t require authentication
Now you need to edit mpd.conf file
sudo gedit /etc/mpd.conf
add the following lines
audio_output {
type “pulse”
name “My MPD PulseAudio Output”
}
save and exit the file
Don’t add any other options to this! Let MPD just use PulseAudio’s defaults.
Now, restart MPD using the following command
sudo /etc/init.d/mpd restart
Howto fix system sounds in hardy pulseaudio
If you have any problems with system sounds in hardy pulseaudio follow this procedure
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

May 2nd, 2008 at 7:39 pm
Hi, when I add the audio_ouput section
i get the error message
improperly formatted config file at line 69: name
When I uncomment one of the predefined audio_output secions, the daeaon starts up fine.
Do you have any idea?
May 2nd, 2008 at 7:41 pm
Of course, i have to remove the suggested section
audio_output {
type “pulse”
name “My MPD PulseAudio Output”
}
to make it startup ok.
May 3rd, 2008 at 1:26 am
Hi,
I got the same error message. I copy pasted and the “” are wrong, replace them by retyping them, and the problem is gone.
June 28th, 2008 at 10:18 pm
Thanks Val. I had the same message and your tip did the trick.
Thanks Ubuntugeek for this howto.
November 12th, 2008 at 5:21 am
Same here. The actual quotes are different and need to be retyped then restarts fine. Great how to. Thanx.