Linux HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon)

  Thread Rating:
  • 10 Votes - 4.3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
LonghornDude08 Offline
Junior Member
Posts: 8
Joined: Dec 2011
Reputation: 0
Post: #381
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
find quote
magnetism Offline
Senior Member
Posts: 135
Joined: Dec 2008
Reputation: 0
Post: #382
What happens when you run this from a command prompt?

"C:\Program Files (x86)\MakeMKV\makemkvcon.exe" stream disc:0
find quote
LonghornDude08 Offline
Junior Member
Posts: 8
Joined: Dec 2011
Reputation: 0
Post: #383
MakeMKV v1.7.0 win(x86-release) started
Failed to open disc

And MakdMKV stops running again
find quote
LonghornDude08 Offline
Junior Member
Posts: 8
Joined: Dec 2011
Reputation: 0
Post: #384
I tried ...disc:1 and it seems to work. Any way to change this in XBMC?
find quote
magnetism Offline
Senior Member
Posts: 135
Joined: Dec 2008
Reputation: 0
Post: #385
Requires a plugin update. Do you have two optical drives?
find quote
LonghornDude08 Offline
Junior Member
Posts: 8
Joined: Dec 2011
Reputation: 0
Post: #386
yeah, I kept my non blu ray drive so I have 2
find quote
magnetism Offline
Senior Member
Posts: 135
Joined: Dec 2008
Reputation: 0
Post: #387
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 )
find quote
LonghornDude08 Offline
Junior Member
Posts: 8
Joined: Dec 2011
Reputation: 0
Post: #388
Sounds awesome. Thanks for all your help Smile
find quote
magnetism Offline
Senior Member
Posts: 135
Joined: Dec 2008
Reputation: 0
Post: #389
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.
(This post was last modified: 2011-12-26 22:18 by magnetism.)
find quote
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #390
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.
(This post was last modified: 2012-01-06 02:48 by fiveisalive.)
find quote
Post Reply