-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playing DVD #32
Comments
Though I haven't tested this myself, I would imagine that it would simply be a matter of exposing your DVD drive to your Kodi container. e.g. something like this:
Of course, replace |
Thanks much, I'm still a docker/x11docker noob. Let me try it, and I'll let you know how it goes. Perhaps a worthwhile addition to the doc? |
Checking in. Did you have any luck? |
Thanks for reaching out. I'm fighting it. I'd love to get kodi running in docker (first step in dockerizing my whole "house server", but not much luck. Minor issue: with --share /dev/dvd:ro x11docker blows chow complaining docker: bad mode specified: ro. Replacing it with just --share /dev/dvd at least lets docker/x11/kodi run. The real issue is that when running with the following command line: /usr/bin/x11docker --share /dev/dvd --hostdbus --gpu --home=$HOME/kodi -- -v /media/giuliano/45035146-fa0d-4b8a-95d7-4c6d06477427 -- erichough/kodi, the host /dev/dvd is not showing up in the container. From inside kodi I go to Setting/File manager/Add source/Browse/Root filesystem, and then dive down into /dev. All I see is: dri fd mqueue pts shm. At this point I'm trying to just become conversant with x11docker, and figuring out why the --share isn't working. Unfortunately, trying to merely have it bring up kde-plasma fails:x11docker --desktop --gpu --init=systemd x11docker/kde-plasma squawking: /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server. If I could at least get x11docker to bring up a simple terminal I'd have half a chance at figuring out what's going on. I could look at dmesg, try sharing other files/folders/devices and see if the are shared in the container, etc. At some point I'll just need to bail and install kodi on the host system. I've just started a new gig, and have a whole new code base to get up to speed on. Any how, thanks again for checking in! |
Ah, BTW, x11docker seems to think it is sharing /dev/dvd and /dev/sr0:
On the off chance the symlink was the issue, I also tried --share=/dev/sr0 with no luck there either. |
Basic thought: Maybe kodi cannot handle the device file directly but needs the dvd to be mounted. Share the mount point.
You can get a terminal with:
Just checked,
This looks suspicious. This does not share a host volume but creates one in Docker. Is this intended? |
Thanks. I need to figure out how to get to the device, if I'm to get access to the DVD. Ideally to dbus too, so I can get it to auto load. Thanks for clueing me in about how to run bash. Hopefully I'll have time to play with it this week. The -v was me playing around, based on something I saw in either the x11docker or docker-kodi docs, I've forgotten which. Not really directly related to this. Basically, it's where my ripped media is. Thanks again, you've been very helpful. I appreciate it. |
Some first progress! I've inserted an audio CD in my computer. Opening it showed Docker fails to share this. Ideally we should share
Sharing This works so far:
In kodi, browse to |
How do I run x11docker so that kodi can either:
The text was updated successfully, but these errors were encountered: