i am very annoyed because i would like to use Max2Play on RPI as Hifi Audio and Video services but i discover that i cannot run theses 2 services at same time.
My Hifi DAC is plugged to USB (managed by LMS/Squeeze) and TV to HDMI (managed by Kodi), so different audio outputs, so no conflict.
Why Max2Play blocks Kodi running when Squeeze audio processing?
IMPORTANT:
If Kodi/XBMC is running Squeezelite will be deactivated! This is neccessary to get Audio in Kodi/XBMC working. Kodi/XBMC uses pulseaudio and Squeezelite as well as Shairplay use Alsa to play sounds/music at the same time. When Kodi/XBMC is closed, Squeezelite will start again if it is set to autostart.
The two protocols cannot run at the same time on one Pi.
It’s not convenient at all for a mediacenter solution (no mouse, no keyboard, only remote control access)
In Kodi, if i set HDMI passtrough audio output, it uses pulseaudio as well?
You say when Kodi is closed -> Squeezelite auto-starts but on the opposite side, if i run Kodi, could Squeezelite auto-stop as opposed to display the error message cannot run?
As mentioned, pulse and ALSA are two different protocols for audio that cannot overlap.
It does not hinder any portability or control options as you can both use a HTTP command from any device to start or stop squeezelite as well as just accessing the web interface from any device to do the same thing.