Linux Headless Kodi in docker container → Audio output device - no device found.
#1
Hi,

I'm in need for some help with a special headless Kodi setup.

My final goal is to run multiple headless Kodi docker containers on a Raspberry Pi (https://hub.docker.com/r/linuxserver/kodi-headless).
This multiple Kodi instances will work as multiple audio renderers which will serve as multiple audio sources to connect to an existing multiroom audio system.
For the audio outputs, I want to connect multiple USB audio cards to the USB ports of the Raspberry Pi (and maybe also use the onboard audio output).

After some quick testing, it seems that this is possible to setup but I have one problem that I can't solve.
When I navigate to the Kodi audio settings to select an audio device there is the following: Audio output device → Error - no devices found.
I added the following to my docker compose.yaml file with the intention to share the audio devices with the container:

Code:
devices:
  - /dev/snd

Most likely this is not the right way to do this or not enough to give the result I want.
Can someone point me in the right direction? How can I get my audio devices visible in the audio settings of my Kodi docker instance?

Thanks in advance!
Reply
#2
I don't think that is the way most users would use Kodi headless. Typically it's an instance that would receive update messages from a software like sonarr and then just update the database to which other Kodi clients in the network are connected. That way no audio and video output would be required.

However, I saw a project here that aims to install Kodi in a docker with full video and audio support. You would probably find that with a search for "kodi headless". Otherwise I can warmly recommend the project from here https://hub.docker.com/r/matthuisman/kodi-headless which the dev already brought up to Omega.
Reply

Logout Mark Read Team Forum Stats Members Help
Headless Kodi in docker container → Audio output device - no device found.0