This might be a bit of a niche usage, but I wonder if anyone else has found a way to enable what I’m looking for.
I’m running OSMC on a Pi 3B with an IQaudio DAC+. The HDMI output is connected to our TV, and the IQuadio audio outputs are connected to our 2-channel stereo. The stereo is solely for listening to music sent through upmpdcli, which is installed on OSMC.
On Kodi 18, once I had installed the overlay for the DAC+, I was able to set the audio output in Kodi to HDMI, so that anything played through Kodi came through the HDMI audio to the TV, but upmpdcli could send audio to the stereo.
On Kodi 19, I’m finding that installing the overlay for the DAC+ in Kodi means that the only audio output options available are to the DAC+, and HDMI sound output is not an option.
Has anyone found a way in Kodi 19 to do what I’m attempting? (Kodi audio output through HDMI, other audio output from the Pi through a separate DAC).
Thanks for your help - everything is working perfectly now.
It amazes me that a Pi 3B has enough power to be playing a movie on the TV through Kodi, while upmpdcli running in the background is playing music through the DAC output. Of course I wouldn’t normally want to do both at the same time, but I tried it while I was troubleshooting and it handled it without any trouble.
For anyone else doing something similar, the lines I changed in /etc/mpd.conf to send the mpd audio through the DAC rather than HDMI were:
name "My ALSA Device"
device "hw:1,0" # HDMI is hw:0,0 DAC is hw:1,0 on my setup
mixer_device "hw:1" # this selects the DAC mixer
mixer_control "Digital" # I found this name by running 'amixer -c 1'
# mixer_index "0" # optional
Just in case anyone else tries to do what I was doing, I ran into some problems after rebooting the Pi. Kodi seemed to be making the default audio device the iqAudio DAC rather than the HDMI output, which was stopping upmpdcli from being able to use the DAC for its own output.
I changed a line in ~/.kodi/userdata/guisettings.xml to include: