01-21-2019, 06:14 PM
First of all, I'm not sure if my issue is Kodi or moOde related but I'm asking for help here as I'm running out of luck on my own
To start, this is my setup :
Raspi 3B+ with moOde 4.4 and IQAudio DAC+ connected with RCA on an analog amp and with HDMI to a videoprojector.
I used to use another audio related distribution (quite similar to moOde wich had a kodi plugin. Sound of mpd and kodi were both coming out from the DAC.
Recently I've discovered moOde while tinkering with another setup (30's radio with rpi zero and justboom amp). I was amazed by moOde reliability.
So here I am, installing it on my rpi 3B+ and trying to get the same kodi/mpd couple for my audio and video needs. But I'm unable to get Kodi to output on the IQAudio DAC...
Actually, I was, for half a minute...
So : ALSA Default (IQAudio DAC) is selected as output in Kodi. The DAC is also setup in moOde wich is working as expected.
If I launch Kodi, moOde can't play, arguing that Alsa device HW 0,0 is busy. However, Kodi sounds are coming from the videoprojector's speakers.
Today, after looking at how kodi is installed as a plugin in the other distro, I created /etc/asound.conf file with the following content.
I launch Kodi from ssh. And it works, sounds everywhere from my beloved DAC. (Lots of joy here).
I stop the playback and try to play something with moOde wich says me : Unable to play (blah... blah...) Device HW 0,1 not found.
I look into moOde audio settings if anything has changed with mpd, which is not the case. So I'm hitting the APPLY button and go back to try moOde.
After mpd restard it works.
But then, nothing from kodi anymore and since then I'm unable to get it again, it's back to output via HDMI...
If it helps, output of aplay -l and aplay -L are IQAudio only with HW 0,0 ID.
Thanks for your help and sorry for my english, I'm not native.
EDIT : I am able to play a video with audio output to ALSA with omxplay -o alsa, if it helps...
To start, this is my setup :
Raspi 3B+ with moOde 4.4 and IQAudio DAC+ connected with RCA on an analog amp and with HDMI to a videoprojector.
I used to use another audio related distribution (quite similar to moOde wich had a kodi plugin. Sound of mpd and kodi were both coming out from the DAC.
Recently I've discovered moOde while tinkering with another setup (30's radio with rpi zero and justboom amp). I was amazed by moOde reliability.
So here I am, installing it on my rpi 3B+ and trying to get the same kodi/mpd couple for my audio and video needs. But I'm unable to get Kodi to output on the IQAudio DAC...
Actually, I was, for half a minute...
So : ALSA Default (IQAudio DAC) is selected as output in Kodi. The DAC is also setup in moOde wich is working as expected.
If I launch Kodi, moOde can't play, arguing that Alsa device HW 0,0 is busy. However, Kodi sounds are coming from the videoprojector's speakers.
Today, after looking at how kodi is installed as a plugin in the other distro, I created /etc/asound.conf file with the following content.
Code:
#KODI
defaults.ctl.card 0
defaults.pcm.card 0
#ENDOFKODI
I launch Kodi from ssh. And it works, sounds everywhere from my beloved DAC. (Lots of joy here).
I stop the playback and try to play something with moOde wich says me : Unable to play (blah... blah...) Device HW 0,1 not found.
I look into moOde audio settings if anything has changed with mpd, which is not the case. So I'm hitting the APPLY button and go back to try moOde.
After mpd restard it works.
But then, nothing from kodi anymore and since then I'm unable to get it again, it's back to output via HDMI...
If it helps, output of aplay -l and aplay -L are IQAudio only with HW 0,0 ID.
Thanks for your help and sorry for my english, I'm not native.
EDIT : I am able to play a video with audio output to ALSA with omxplay -o alsa, if it helps...