MPD and pulse output fails to start

  • Hi all,

    I have a working MPD addon outputing to a local alsa usb sound card.

    I'm trying to also output MPD to a pulseaudio sink and I can't get MPD to start as it always quits spitting out :

    Code
    exception: Failed to configure output in line 289
    exception: nested: No such audio output plugin: pulse

    The config is the following:

    My feeling is the MPD addon in libreelec does not support pulse audio, is that correct ?

    If so, any ways to have MPD support pulseaudio ?

    If not correct: any ideas where this error is coming from ?

    I tried with:

    - localhost default pulse sink (as in the config above),

    - with explicitly naming the sink,

    which all show up ok from pulseaudio itself:

    Code
    # pactl list short sinks
    1    alsa_output.platform-aml_m8_snd.47.analog-stereo    module-alsa-card.c    s16le 2ch 44100Hz    SUSPENDED
    2    alsa_output.usb-0ccd_0077-00.analog-stereo    module-alsa-card.c    s16le 2ch 44100Hz    SUSPENDED
    3    tunnel.dsk.local.alsa_output.pci-0000_12_00.3.analog-stereo    module-tunnel.c    s16le 2ch 44100Hz    SUSPENDED
    4    tunnel.dsk.local.alsa_output.pci-0000_09_00.1.hdmi-stereo    module-tunnel.c    s16le 2ch 44100Hz    SUSPENDED

    Thanks for any ideas/pointers !!!

  • Just found out that indeed the MPD addon does not support pulseaudio:

    Code
    # mpd --version
    [...]
    
    Output plugins:
     null fifo alsa httpd
    
    [...]

    Any hints how I can get MPD to a version that support pulseaudio in Libreelec ?

  • Look at the package.mk in GitHub .. I'm not able to check from current location, but since we predominantly use alsa for audio we probably don't compile mpd with pulse support?