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


A Little Help Please - LonghornDude08 - 2011-12-25

I followed all directions. I have XBMC and MakeMKV installed. I installed the plugin. I went into the plugin's settings and pointed to the makemkvcon executable. When I choose play, it freezes and then a dialogue box pops up a little while later saying that "MakeMKV console application has stopped working." Help would be greatly appreciated. For what it's worth, I got streaming to work through MakeMKV and VLC player.


Additional Information - LonghornDude08 - 2011-12-25

I forgot to include this, but I'm running 64-bit Windows 7


- magnetism - 2011-12-25

Playing a disc or a file? What does the logfile say?


- LonghornDude08 - 2011-12-25

Blu Ray disk. I'm not sure which log file you are talking about or how to look at it. XMBC just freezes and MakeMKV goes through the whole "____ has stopped working. Windows is searching for a solution" and then you choose whether to Debug or close the program.


- magnetism - 2011-12-25

Logfile: http://wiki.xbmc.org/?title=Log_file


- LonghornDude08 - 2011-12-25

02:41:09 T:4940 M:4294967295 ERROR: WEATHER: Unable to get data: Invalid License Key.
02:41:10 T:6480 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Starting the BluRay script
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Staring
02:41:10 T:6480 M:4294967295 NOTICE: [BR-settings 1] reading settings
02:41:10 T:6480 M:4294967295 NOTICE: [BR-settings 1] raw param string:
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] mode: None
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Showing categories
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=True
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Play Disc
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=False
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Browse Disc
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=True
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Play Filelocation
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=False
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Browse Filelocation
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=True
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Play Remote location
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=False
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Browse Remote location
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=20&autoplay=True
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Settings
02:41:10 T:6480 M:4294967295 NOTICE: [BR 1] Showing categories done
02:41:11 T:5856 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
02:41:11 T:5856 M:4294967295 NOTICE: [BR 1] Starting the BluRay script
02:41:11 T:5856 M:4294967295 NOTICE: [BR 1] Staring
02:41:11 T:5856 M:4294967295 NOTICE: [BR-settings 1] reading settings
02:41:11 T:5856 M:4294967295 NOTICE: [BR-settings 1] raw param string: ?mode=20&autoplay=True
02:41:11 T:5856 M:4294967295 NOTICE: [BR 1] mode: 20
02:41:29 T:4440 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Starting the BluRay script
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Staring
02:41:29 T:4440 M:4294967295 NOTICE: [BR-settings 1] reading settings
02:41:29 T:4440 M:4294967295 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] mode: 1
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Entering Disc mode
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Staring
02:41:29 T:4440 M:4294967295 NOTICE: [BR-settings 1] reading settings
02:41:29 T:4440 M:4294967295 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] "C:\Program Files (x86)\MakeMKV\makemkvcon.exe" stream disc:0
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Running makemkvcon locally
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] attempting linux kill of makemkvcon
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Linux call successful
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] attempting windows kill of makemkvcon
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] Windows call successful
02:41:29 T:4440 M:4294967295 NOTICE: [BR 1] "C:\Program Files (x86)\MakeMKV\makemkvcon.exe" stream disc:0


- magnetism - 2011-12-25

What happens when you run this from a command prompt?

"C:\Program Files (x86)\MakeMKV\makemkvcon.exe" stream disc:0


- LonghornDude08 - 2011-12-25

MakeMKV v1.7.0 win(x86-release) started
Failed to open disc

And MakdMKV stops running again


- LonghornDude08 - 2011-12-25

I tried ...disc:1 and it seems to work. Any way to change this in XBMC?


- magnetism - 2011-12-25

Requires a plugin update. Do you have two optical drives?


- LonghornDude08 - 2011-12-25

yeah, I kept my non blu ray drive so I have 2


- magnetism - 2011-12-25

Ok quick fix is to change the addon source. Somewhere in there it says disc:0, change that to disc:1 and it will be fine.

I'm actually finally looking at this plugin again right now (christmas, you know lots of time... Smile )


- LonghornDude08 - 2011-12-25

Sounds awesome. Thanks for all your help Smile


- magnetism - 2011-12-26

Ok, test version available here:

http://www.bultsblog.com/plugin.makemkvbluray-1.1.zip

and it's on github https://github.com/abultman/plugin.makemkvbluray

let me know how that works out.


- fiveisalive - 2012-01-05

magnetism Wrote:Ok, test version available here:

http://www.bultsblog.com/plugin.makemkvbluray-1.1.zip

and it's on github https://github.com/abultman/plugin.makemkvbluray

let me know how that works out.

Tried the 1.1 version on Linux with 1.7.0 on Dharma 10.1, got the following:

Code:
6:36:18 T:139820424746752 M:3163836416   ERROR: Error Type: exceptions.TypeError
16:36:18 T:139820424746752 M:3163836416   ERROR: Error Contents: NamedTemporaryFile() got an unexpected keyword argument 'delete'
16:36:18 T:139820424746752 M:3163836416   ERROR: Traceback (most recent call last):
                                              File "/home/myth/.xbmc/addons/plugin.makemkvbluray/default.py", line 196, in ?
                                                mydisplay.handleListing()
                                              File "/home/myth/.xbmc/addons/plugin.makemkvbluray/default.py", line 88, in handleListing
                                                self.CATEGORIES()
                                              File "/home/myth/.xbmc/addons/plugin.makemkvbluray/default.py", line 153, in CATEGORIES
                                                disclist = self.makemkv.discList()
                                              File "/home/myth/.xbmc/addons/plugin.makemkvbluray/resources/lib/makemkv.py", line 13, in discList
                                                tmpf = tempfile.NamedTemporaryFile(delete=True)
                                            TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
16:

Looking at http://docs.python.org/library/tempfile.html it appears that the "delete" parameter was added in Python 2.6, but by default Dharma/10.1 builds against a bundled version of Python 2.4.