User Tools

Site Tools


pitchfork_mpd_with_pulseaudio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pitchfork_mpd_with_pulseaudio [2014/11/24 01:14]
0.0.0.0 created
pitchfork_mpd_with_pulseaudio [2014/11/24 02:15]
ben
Line 22: Line 22:
   * Update MPD's database:   * Update MPD's database:
  sudo mpd --create-db  sudo mpd --create-db
-  * Now you need to tell MPD to output to PulseAudio.  To do this, open **/etc/mpd.conf** in your favourite text editor (<code>sudo vi /etc/mpd.conf</code>), scroll down to the "Audio Output" section, then add this block, ensuring it isn't automatically commented, using whatever "name" value you wish:+  * Now you need to tell MPD to output to PulseAudio.  To do this, open **/etc/mpd.conf** in your favourite text editor (''sudo vi /etc/mpd.conf''), scroll down to the "Audio Output" section, then add this block, ensuring it isn't automatically commented, using whatever "name" value you wish:
  audio_output {  audio_output {
          type    "pulse"          type    "pulse"
Line 28: Line 28:
  }  }
   * For some reason that I haven't solved so far, MPD will get Access Denied errors to PulseAudio when first trying to play a track.  The only workaround I’ve come up with as yet is to tick the "Don't require authentication" box on the PulseAudio "Configure Local Sound Server" dialog.   * For some reason that I haven't solved so far, MPD will get Access Denied errors to PulseAudio when first trying to play a track.  The only workaround I’ve come up with as yet is to tick the "Don't require authentication" box on the PulseAudio "Configure Local Sound Server" dialog.
-  * To allow Pitchfork to control the volume, edit **/etc/mpd.conf** again (<code>sudo vi /etc/mpd.conf</code>), scroll down to the "Mixer" section and uncomment the line ** 'mixer_type "software"** ' This isn't ideal, but I can't figure out how to get MPD to change PulseAudio's volume control (if it's possible at all).+  * To allow Pitchfork to control the volume, edit **/etc/mpd.conf** again (''sudo vi /etc/mpd.conf''), scroll down to the "Mixer" section and uncomment the line ** 'mixer_type "software"** ' This isn't ideal, but I can't figure out how to get MPD to change PulseAudio's volume control (if it's possible at all).
   * Finally restart MPD to activate all your changes:   * Finally restart MPD to activate all your changes:
  sudo /etc/init.d/mpd restart  sudo /etc/init.d/mpd restart
pitchfork_mpd_with_pulseaudio.txt · Last modified: 2014/11/24 02:15 by ben