Instant blu-ray playback in plex with makemkv

it would seem that my usb to virtual machine idea for bluray playback on unsupported drives doesn’t really work. in theory it works soundly. vlc on mac os is able to pick up the stream from makemkv running on the virtual xp but the disc reads at only about 0.5x at best so it’s too slow to play properly. i guess that just a limitation of trying to run a bluray drive on usb bandwidth. basically just a heads up for anyone looking to try the same.



marc



I've tried using this code a few times and it seems to make things hang with the plugin... causes a window to popup and a message "Waiting for response from server". any suggestions?

MakeMKV Plug-in Beta.



I’ve put up a beta of the MakeMKV Plex Plug-in.



You can download it Here - Release Notes



Please Post any bugs or feature requests in this thread or on my website.



-Nate

n8o.org

Cool.



Didn’t seem to work though on DVDs at least.



DVD Title Appears in MakeMkv plugin

Click on the DVD (Title) and It says “Plex Media Server. Waiting for Response…”

Then it just throws you back to the Plugin/Video List

I can see the Makemkv process running and the dvd spinning up just no video appears.



Any particular logs you want posted?



Hmm.. that's interesting. It should work. I've tested more with DVD's than I have with the Blu-Ray. go ahead send me the plug-in log and MakeMKV log.
~/Library/Logs/PMS Plugin Logs/com.plexapp.plugins.makemkv.log
~/MakeMKV_log.txt

Thanks for the help

-Nate
[n8o.org](http://n8o.org)


Like any good Beta tester I have a habit of breaking stuff. There was no MakeMKV_log.txt (did a spotlight search to be sure)
com.plexapp.plugins.makemkv.log.txt (10.8 KB)


Blast... That's the problem. I rely on the MakeMKV_log.txt to determine if the server has finished loading. I guess I need to add more hooks to check if it's not there. The reason why i check the log is because for some reason I am unable to pull information from stdout in python which would be the preferred way. Thanks for the help. I'll try and get a fix up soon.

load MakeMKV GUI. Go to preferences -> general. At the bottom you'll so a check box. enable debug logging.
let me know how that works for you.


-Nate
[n8o.org](http://n8o.org)

very impressed with how this is going so far. just saw a post on the makemkv forums saying they’re implementing direct access so unsupported drives will work in future releases. i modified mediastream’s dvd button on the home screen to lead directly to the makemkv plugin. since it’s not currently used and make mkv provides a way of playing not only blurays but dvds which are currently unsupported in plex i thought it would make a good addition to the home screen. just replace home.xml in applications/plex/contents/resources/plex/skin/mediastream/720p with the one attached. home some people find this useful. it’s easily done and can be added to any skin.



Perfect. Optical support in plex :) Will get hold of a blu-ray drive to try it out

Only minor annoyance was I couldn't choose the audio stream for the dvd (so the one I watched I could only here the audio commentary). So maybe not so perfect but pretty good.



I almost have it working with just stdout. so you wont have to enable debug mode in the future. their is an issue with MakeMKV where they don't flush their stdout enough making it a pain to deal with. this is the solution that i have found so far. [My link](http://stackoverflow.com/questions/1410849/manipulating-pipe-buffer-size-in-c-or-python)

I'll look into the different streams part. but most likely this is a MakeMKV issue.


It's not working for me, either. I don't know if it's a bug or if I'm just not doing something correctly. Your instructions are ambiguous to me - could you clarify in a step-by-step?

Thanks!

CM


1) Make sure the latest MakeMKV is installed. (should be installed in /Applications/MakeMKV
2) Launch MakeMKV click on the wrench icon (preferences) and enable "Log debug message". Press ok. Quit MakeMKV
3) make sure you have plex installed and working
4) Download the MakeMKV Plugin
5) Double click the plugin to install it
6) Launch Plex. Goto Video -> MakeMKV then select the disc or remote server you want to connect to.

I new version will be coming out today or tomorrow that wont need you to enable "Log Debug Message"


-Nate
[n8o.org](http://n8o.org)

OK, thanks. I had tried that and it when I chose the MakeMKV server, it returned me to the Plex menu without starting the movie. I’ll install your updated version when you release it and give it a try. Thanks!



Hmm.. It may be another issue.

Will you please send me these two logs?

~/Library/Logs/PMS Plugin Logs/com.plexapp.plugins.makemkv.log
~/MakeMKV_log.txt

Thanks

Thanks so much for working on this. I am having similar issues. When I try to access a local DVD drive - it shows the dvd/blu-ray disk title, but when I click on it nothing happens. If I open MakeMKV prior to opening Plex it crashes at this point so there must be something going on. I get the same results for the remote feature. However if I launch MakeMKV on the remote computer and set it up for streaming, then I do get a list of available titles from the DVD. However, if I click on one of the titles, MakeMKV on the remote computer crashes. I am aware from your instructions that I am not supposed to have MakeMKV launched and open during this process, but I have been experimenting and wanted to share my results.



if you could also send me these two log files i would appreciate it.

~/Library/Logs/PMS Plugin Logs/com.plexapp.plugins.makemkv.log
~/MakeMKV_log.txt

I've been building more error handling in the next version. if i need to catch more that would be a lot of help.

MakeMKV must be off and the drives must be visible in finder before launching the plugin.

I will send you the log files this evening. I understand that for a local drive you would want want MakeMKV not open, but I would think if you were using the remote feature you would want MakeMKV launched and the streaming feature activated before launching your plugin. Is this correct?




That is correct. If the remote server crashes.. please enable debug mode and send me the makemkv log for the remote server.

Thanks!

Beta 2 has now been released.



You can download here - Instructions

n8o,



I downloaded your updated MakeMKV plugin and continue to have some issues. I just sent you a copy of the MakeMKV log from the remote computer. I have made some progress figuring out what is the issue on my system. I have both an internal DVD drive and an external firewire blu-ray/dvd drive. I typically use the external drive because I mainly use blu-rays. I happened to give the internal drive a try and it works if playing on the local computer (not streaming). This is true for both the versions 1 & 2. I switched back an forth about a half dozen times and rebooted a couple times and this behavior always remained consistent. With a disk in the external drive the name of the disk will show up in your plugin and it will appear to load, but after awhile it just goes back to your top menu instead of showing the track numbers.



I never got either version to work remotely. I can enter the address and then it will give me a list of all available tracks. However when I click on a track I get the following message: “Error - Could Not Read From Input Stream”. At the same time MakeMKV crashes on the remote computer. This is the log that I am sent.



The one bug that I noticed in version two that I did not see in your first version is the naming of the DVD. When using a local drive it appears to be randomly selecting the name of one of my hard drives as the name of the DVD. It is not the same hard drive name every time, but it is never the name of the DVD. However, if I click on the hard drive name, it will load the DVD in the internal DVD drive. Version one always showed the correct name of the inserted DVD.



Finally, I wanted to let you know that the remote address is sticking between logins and that is a great feature.



Thanks again for working on this and I will test anything you need me to.