![]() Kodi_command = 'kodi-send -action=\"PlayDVD\"' Os.system('sudo mount /dev/sr0 /mnt/DVD') The next is a script i’ve called “DVD_Fix” which seems to work more often than not: #!/usr/bin/python So it stops anything currently playing, ejects the disc and reloads the favourites screen (so you can launch the next script when you have swapped the disc). Kodi_command = 'kodi-send -action=\"ActivateWindow(Favourites)\"' Kodi_command = 'kodi-send -action=\"Stop\"' So the first is the “eject” script which is fairly straightforward #!/usr/bin/python I’ve now been watching some DVD’s with Kodi and i’ve written a couple of scripts which seem to (almost) guarantee reliable playback. I haven’t ripped a DVD as I don’t have any did ripping software setup but i’m fairly confident that the drive is ok. So i’ve tested the drive attached to my PC and any DVD I have tried has played reliably. With that out of the way, enjoy your Blu-ray content on Linux, stream it to your Raspberry Pi, and get the most out of your media.Ok so i’ve had a chance to play around with this some more. Duplication and/or distribution of Blu-ray content is definitely illegal. Certainly, no matter where you are, only use these tools for your own personal viewing. This method can also be considered breaking that DRM, which is sort of a legal gray area, depending on where you live, so be mindful of that, too. Unfortunately, Blu-ray’s DRM means that things probably aren’t going to change any time soon. Obviously, this solution is a little clunky. When you find the right file and click it, your stream will open and play your video. Different Blu-rays may use different conventions, so there might be some trial and error involved. There will probably be a couple of files there with totally useless names. You should see your stream in the file listing now. ![]() In the list to the left, find “UPnP devices.” Select your MakeMKV stream and browse to the file that you want to play. Click on “Files,” then click “Add videos…” In the next window you need to click the “Browse” button. Open up Kodi and go to the “Videos” section. Since it’s a local stream on your network, that means you can stream to another device in your home running Kodi. MakeMKV creates a UPnP stream, which Kodi works very well with. It’s true that you can do this with VLC, too, but due to some weird library issues, Kodi is the much better option. By default, it will use port 51000 on your computer. MakeMKV will open up the file and stream it. It looks like a disk with a couple of lines radiating from it. To start your stream, click the streaming icon at the top of the window. TV shows are a little trickier, but you can look for a series of files that are nearly the same size. It can be difficult to figure out which ones are which, but for movies, the largest file is usually the feature. When it finishes, you’ll see a breakdown of the files stored on the Blu-ray. MakeMKV will take a few minutes to read the disk. MakeMKV will load it quickly, and you’ll see the disk drive image colorize. Now you can find a Blu-ray to play and load it. A window will open for you to enter the beta key. In the MakeMKV window, click on “Help,” then click “Register” in the menu that drops down. You can always find the MakeMKV beta key here. It’s somewhat of a formality because MakeMKV is always in beta, but you do need to enter a new key every so often. Before you can do anything, you need to enter the MakeMKV beta key. The window that you’ll see is fairly plain, and it doesn’t contain much until you load in a Blu-ray. Through the install, you’ll have an option to launch MakeMKV through your distribution’s application launcher. When it’s finished, MakeMKV will be completely installed. ![]() Open a terminal window and use apt to get the following packages: You’ll need VLC, too, because you’re going to use that to play your video later on.ĭo note that the following instructions are done on Ubuntu. Install the Packagesīefore you get started building, yes building, MakeMKV, there are some required packages for you to install. It can, however, convert what it has read into a stream that you can pick up with a video player like Kodi that can play streaming content. Its Linux version is in a constant beta, so it’s not officially supported, but it does work. The closed source part handles reading Blu-ray, while the rest of it is open, striking an unusual balance for this particular task. ![]() That’s a big part of the reason you probably haven’t come across it in your distribution’s repositories. It’s called MakeMKV, and it’s partially open source. With all of that aside, there is an excellent program that is available for Linux that can read Blu-ray disks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |