Kodi Community Forum
Linux HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon) (/showthread.php?tid=67420)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


- magnetism - 2011-01-28

gmiller1018 Wrote:I loved the plugin you wrote but the 10.* release broke it so I converted it to a addon, I have been playing with it for a couple of days now. If magnetism is OK I could post a link here to it or just send it "him". I am using it on my media machine with a BluRay drive and some ",mkv" files and it appears to work but it has not been pushed and has only English support at the moment.

There's already an addon to download in the first post.


- gmiller1018 - 2011-01-28

magnetism Wrote:There's already an addon to download in the first post.

Sorry, I did not go through all of the posts up to here so I did not notice the conversion. Oh well I guess I did the work for nothing, but I did lean something so it was not a total loss. I will grab the new one and compare functionality.

Sorry for missing the change. Sad


- magnetism - 2011-01-29

gmiller1018 Wrote:Sorry, I did not go through all of the posts up to here so I did not notice the conversion. Oh well I guess I did the work for nothing, but I did lean something so it was not a total loss. I will grab the new one and compare functionality.

Sorry for missing the change. Sad

Hey, no problem. And as long as it works for you and you learned something, then power to you!


- speed32219 - 2011-02-07

speed32219 Wrote:For some unknown reason I have lost the Progress Dialog. No more starting, initalizing, waiting, etc. No more working icon, although it does play the BD eventually, but I need to keep my eye on the drive light to make sure it is still running and not in a lockup state. Any suggestions?

Bump.


Is there a newer version other than BluRay-plugin_v01a that addresses this issue. Or am I the only one not seeing the progress popups. (i.e. working)

Under makemkv I do get messages.


- DaVu - 2011-02-09

..


- linuxluemmel - 2011-02-15

I provide binarys for release 1.6.4 for 32 and 64 bit systems on my own project-url
http://code.google.com/p/swiss-army-knife/downloads/list


- frank474 - 2011-02-20

I can't get the addon working. If I select "play disc" xbmc is kind of freezed, if I select "bowse disc" he is scanning to 100% "Waiting for BluRay to be prepared" and then he is aborting.

The Log is:
Code:
11:06:45 T:2737159024 M:1737744384    INFO: Scriptresult: Success
11:06:45 T:2737159024 M:1737363456    INFO: Python script stopped
11:06:45 T:2737159024 M:1737363456   DEBUG: Thread 2737159024 terminating
11:06:45 T:3079411568 M:1737363456   DEBUG: python thread 4 destructed
11:06:45 T:2775575408 M:1737363456   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
11:06:45 T:3079411568 M:1737363456   ERROR: GetDirectory - Error getting plugin://plugin.makemkvbluray/?mode=1&autoplay=False
11:06:45 T:3079411568 M:1737363456   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.makemkvbluray/?mode=1&autoplay=False) failed
11:06:45 T:3079411568 M:1737363456   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.makemkvbluray/)
11:06:45 T:3079411568 M:1737363456   DEBUG:   ParentPath = [addons://sources/video/]
11:06:45 T:3079411568 M:1737363456   DEBUG: Loading fileitems [plugin://plugin.makemkvbluray/]
11:06:45 T:3079411568 M:1737363456   DEBUG:   -- items: 7, directory: plugin://plugin.makemkvbluray/ sort method: 0, ascending: false
11:06:45 T:3079411568 M:1737363456 WARNING: GetLabel - Unknown nodetype requested 6
11:06:45 T:2753813360 M:1737363456   DEBUG: thread start, auto delete: 0
11:06:45 T:2753813360 M:1737297920   DEBUG: Thread 2753813360 terminating
11:06:45 T:3079411568 M:1737297920   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
11:06:55 T:3079411568 M:1737465856    INFO: Python, unloading python24.dll because no scripts are running anymore
11:06:55 T:3079411568 M:1737465856   DEBUG: UnloadExtensionLibs, clearing python extension libraries
11:06:55 T:3079411568 M:1737465856   DEBUG: Unloading: select.so

The problem is:
"Error getting plugin://plugin.makemkvbluray/?mode=1&autoplay=False"

I use ubuntu linux with yavdr 0.3 and xbmc is:
Version: 2:10.5-dharma+pvr~yavdr4

The bluray addon is 1.0.0: "plugin.makemkvbluray.zip"

Makemkv works fine alone:
Code:
frank@mond:~$ makemkvcon stream disc:0
MakeMKV v1.6.4 linux(x86-release) started
Using direct disc access mode
Evaluation version, 28 day(s) out of 30 remaining
File 00020.mpls was added as title #0
File 00321.mpls (angle 1) was added as title #1
...
Title #01126.m2ts has length of 102 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Operation successfully completed

Thanks for any help.
Frank


- linuxluemmel - 2011-02-20

Release 1.6.5 for 32 and 64 can be downloaded.

http://code.google.com/p/swiss-army-knife/downloads/list


- boulala - 2011-02-21

hy together

stupid question but is it possible to add the "play disc" selection as a favorite/option to the home screen so i don't have to go into video-plugins every time i want to play back a blu-ray disc?

greetz

update: got the solution already. just added the play disc to the favorites and added that favorite to the home menu. works like a charm.


- boulala - 2011-02-22

another question for you guys.
is it possible to autostart a bluray disc with makemkv?
i guess it would be configured like an additional player with the rules and everything? Huh


- rikkards - 2011-02-27

First time poster here.
I am running XBMC Live installed on a Zotac ION with 4G RAM and 40G SSD.
The issue I have is purely with this plugin, it seems that every 4-5 minutes it will hang for about 30 seconds and then continue buffering. Looking at the blu-ray drive (10xLG) it works away for about 40 seconds to a minute and then stops. My theory is I need to get a higher cache setting for makemkvcon. I looked at the editable files in the plug-in but couldn't see where it actually calls the executable to see if I could add a --cache= to it.
Here is a suggestion for an update to the script to allow modifiable cache level for the stream? Anyone help?
Otherwise the forum has been really helpful!


- jz1276 - 2011-02-27

I am the biggest noob and I got it working...thanks!

I do have 2 questions though. First, what's the point of installing BOTH makemkv AND Blu Ray plugin? Doesnt the makemkv plugin also have the blu ray plugin built in?
Also, is it possible to rip BR discs using this program with xbmc live?


- rikkards - 2011-02-27

Think I figured it out. I was looking for the actual line in the .py files that actually called the executable. Once I actually sat down and read the code in the default.py I found lines 95 and 124.
I took this:
mkvStart = '"%s" stream disc:0' %(mystarter.settings.mkvLocation)

and changed it to:
mkvStart = '"%s" stream disc:0 --cache=512' %(mystarter.settings.mkvLocation)

Ditto for 124

I will see if it works and if so maybe I will see if I can change the gui so you can put in the settings. First time I ever looked at a python script. Not tooo bad. Smile

Running it now to see if it stops the buffering issues.

rikkards Wrote:First time poster here.
I am running XBMC Live installed on a Zotac ION with 4G RAM and 40G SSD.
The issue I have is purely with this plugin, it seems that every 4-5 minutes it will hang for about 30 seconds and then continue buffering. Looking at the blu-ray drive (10xLG) it works away for about 40 seconds to a minute and then stops. My theory is I need to get a higher cache setting for makemkvcon. I looked at the editable files in the plug-in but couldn't see where it actually calls the executable to see if I could add a --cache= to it.
Here is a suggestion for an update to the script to allow modifiable cache level for the stream? Anyone help?
Otherwise the forum has been really helpful!



- rikkards - 2011-02-27

Update:
In the xbmc.log I get the following:
CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Almost seems like the stream is not buffering up and then not going back to get more. Then when the buffer runs out it then slurps up again


- rikkards - 2011-02-28

the blu-ray plugin uses makemkv.
Basically the plugin calls makemkvcon to create a stream and then starts the DVDPlayer to open and use the stream. MakeMKVCon can rip a BD. You could ssh into the machine and then rip the BD.

jz1276 Wrote:I am the biggest noob and I got it working...thanks!

I do have 2 questions though. First, what's the point of installing BOTH makemkv AND Blu Ray plugin? Doesnt the makemkv plugin also have the blu ray plugin built in?
Also, is it possible to rip BR discs using this program with xbmc live?