On a side note, this might be useful for those who want to run Kodi on demand (upon HDMI plug-in), especially if it can then use the parameter mentioned above to start Kodi on the non-default display (for most users, TV/monitor as opposed to the 7″ LCD): If it is possible, it would be great to have this parameter available on the max2play web interface. I do not know if I can use a parameter like -display 6 to start Kodi on the non-default screen (from – search for Dual display usage).
![kodi pulseaudio kodi pulseaudio](https://iwf1.com/wordpress/wp-content/uploads/2017/02/Why-PulseAudio.jpg)
KODI PULSEAUDIO HOW TO
I want Kodi to use HDMI, but video output device is not selectable inside Kodi and I do not know how to get it to render on HDMI and Jivelite on 7″ simultaneously. So two problems after both Squeezelite and Kodi have now started running simultaneously after selecting the USB-DAC checkbox: Also, the problem that Kodi still renders on 7″ still remains (so Jivelite UI is not seen which coupled with the fact I cannot use Squeezer to connect any more if I autostart Kodi, means I cannot now control Squeezelite if I start Kodi, so cannot play audio via it for example if I start Kodi – this problem would be solved if either of Kodi or Squeezelite uses a port other than 9090 (how?) – at least, I would be able to use Squeezer (or other app) to control Squeezelite whilst Kodi is occuyping the 7″ display. Note that I’m not talking about port 8080 control of Kodi, that’s separate and works, this is about port 9090). However, now I cannot connect to Squeezelite using Squeezer app (because there is a port conflict on port 9090 between this and Kodi. I shouldn’t be selecting that however, because DAC+ is not USB DAC. Okay, works, kind-of, if I select USB-DAC checkbox. I want Kodi to render using HDMI and Jivelite to render on 7″. Is there a way for Jivelite/Squeezelite to run simultaneously with Kodi? Ideally for both audio and video, though even the audio is not working at the moment.
![kodi pulseaudio kodi pulseaudio](https://www.raspberry-pi-geek.com/var/rpi/storage/images/archive/2014/08/using-the-raspberry-pi-as-a-dlna-receiver-for-a-stereo-system/figure-2/14730-1-eng-US/Figure-2_lightbox.png)
Jivelite (and Squeezelite) pause whilst Kodi is running. Kodi also renders on 7″, not HDMI though sound is on HDMI for Kodi. Audio outputs are separate and I hear Kodi sounds via HDMI, but even now, when Kodi runs, Audioplayer/Squeezelite stops though Squeezelite is using DAC+. This topic was modified 4 years, 9 months ago by Heiner. This topic was modified 5 years, 9 months ago by m.max2play. I wonder what the use is for a separately running audioplayer or Squeezeserver in that case (other than being lighter on resource usage) as Kodi has all the plugins for the various internet music services or local music collections Squeezeserver can serve, as well as MPD client…the USP of this proposition for me was to be able to listen to music in high quality separately whilst being able to use Kodi for videos on a separate output device simultaneously. Pulseaudio as well as ALSA should be capable of sending sound from different applications to different devices simultaneously I would have thought. When Kodi/XBMC is closed, Squeezelite will start again if it is set to autostart. Kodi/XBMC uses pulseaudio and Squeezelite as well as Shairplay use Alsa to play sounds/music at the same time. If Kodi/XBMC is running Squeezelite will be deactivated! This is neccessary to get Audio in Kodi/XBMC working. Is it possible to achieve what I’m trying to achieve? If yes, how?
![kodi pulseaudio kodi pulseaudio](https://twosortoftechguys.files.wordpress.com/2020/08/smbv1.png)
However, the fact that the sound is not output to both HDMI and the DAC+ simultaneously for the different applications (Kodi and Squeezelite respectively) is a showblocker. Jivelite stops if I run Kodi, this is an issue, but not a showblocker since if the Squeezeserver is running, I can choose a different client on my smartphone to connect to that server.
KODI PULSEAUDIO TV
However, I cannot get Kodi to render on connected TV while Jivelite renders on 7″ screen. On the web UI of Max2Play, I can choose IQaudIO DAC+ as the output device for the audioplayer.
![kodi pulseaudio kodi pulseaudio](https://www.raspberrypi.org/app/uploads/2020/11/printers.png)
I can choose HDMI as the output audio device in Kodi, thus ensuring it doesn’t attempt to output via the DAC+: Kodi allows this selection.
KODI PULSEAUDIO SKIN
I wish to run the audioplayer Squeezelite with Jivelite skin rendering on the 7″ touchscreen, music being output via the IQuadIO DAC+ while at the same time I wish to run Kodi on my TV with both video/audio output via HDMI.