2019-12-28, 21:57
Hi,
I would like to run the kodi-headless docker image on a debian machine (my file server) which is only managable via ssh. In the same network there are some TVs and I just want to use the kodi server for uPnP/DLNA. I don't need any libraries or video playback functions. So I loaded a container with "host" network configuration and "mounted" my media directory of the docker host to /media within the kodi container.
As next step I use the web interface to enable uPnP service. Now I can see the kodi server on my TVs via DLNA; so far so good. But the video and music dirs are empty. My problem is: I can't add my media directory to kodi via web interface. I mean the bottons "File manager" -> "add source" in the settings part of the normal GUI. Since I don't have any GUI, is there any way to add sources via webinterface?
My next thought was to edit the sources.xml in the container but when I load a bash via "docker exec -it kodi /bin/bash" I don't have any tools like vi or nano...
I'm stuck for the moment, any advices? Thanks in advance!
Michael
I would like to run the kodi-headless docker image on a debian machine (my file server) which is only managable via ssh. In the same network there are some TVs and I just want to use the kodi server for uPnP/DLNA. I don't need any libraries or video playback functions. So I loaded a container with "host" network configuration and "mounted" my media directory of the docker host to /media within the kodi container.
As next step I use the web interface to enable uPnP service. Now I can see the kodi server on my TVs via DLNA; so far so good. But the video and music dirs are empty. My problem is: I can't add my media directory to kodi via web interface. I mean the bottons "File manager" -> "add source" in the settings part of the normal GUI. Since I don't have any GUI, is there any way to add sources via webinterface?
My next thought was to edit the sources.xml in the container but when I load a bash via "docker exec -it kodi /bin/bash" I don't have any tools like vi or nano...
I'm stuck for the moment, any advices? Thanks in advance!
Michael