[RPi5] Empty MPD Library

  • Hello all.

    Trying to make MPD run on my RPi5 LibreElec (latest version) through HDMI 0 (the one closest to the power cable).

    Kodi works perfectly btw.

    Installed MPD add-on. Restarted RPi5.

    Placed some music on the /storage/music. Restarted again. Final music folder is in my USB disk. This is not an issue.

    My MPD client (maximumMPD) connects automatically to the MPD server (ip is always correct). During system restart, it loses the connection. Nothing wrong here.

    MPD library is always empty no matter what I try. Did reset RPi5 and setup everything again. Same result.

    mpd.log file (/storage/.kodi/userdata/addon_data/service.multimedia.mpd/log/mpd.log) is always empty.

    mpd.db file is empty too.

    LibreELEC:~ # ls -l /storage/.kodi/userdata/addon_data/service.multimedia.mpd/mpd.db

    -rw-r--r-- 1 root root 266 Apr 1 18:56 /storage/.kodi/userdata/addon_data/service.multimedia.mpd/mpd.db

    What should someone do to run the MPD?

    Defined alsa output in config file as well.

  • Checked this morning again and surprisingly the Library is built. Maybe this task needed its time.

    The issue now is different: no audio out. similar to this very old thread (MPD Audio output) RE: MPD Audio output

    It seems I must choose a hdmi1, since the hdmi0 is used by Kodi (and it makes sense). I do have an USB DAC with Digital/Optical output but I want to use full range (HDMI), not limited to two channels.

    aplay -l shows two devices.

    How can I use hdmi0 or even hdmi1 for mpd output?

  • aplay -L will list the device names.

    for hdmi0 use:

    device "hdmi:CARD=vc4hdmi0,DEV=0"

    Many thanks adelias.

    I used hdmi1 for my MPD. It works perfectly.

    Quote

    device "hdmi:CARD=vc4hdmi1,DEV=0"

    Maybe this thread will be useful to other LibreElec lovers.:)