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


- linuxluemmel - 2011-01-02

Baswazz Wrote:Thx for the help!
Only i get stucked on step 8. I use Xbmc live so i don't have a GUI.
It say that the beta key is valid until January 2011
http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053

You don't need a gui to put in the serial .... You need only a terminal and a editor of your choice ,-)

http://forum.xbmc.org/showpost.php?p=650284&postcount=484

All you need is a valid beta key (I guess this will com son).
The current BETA-key from the makemkv url was expired on 01/01/11

BTW The evaluation modes is allways 30 days after the installation.



If you install the software along the debian way .....

* You can remove makemkv with the command dpkg -r name-of-deb.deb
* To see what command you need to remove makemkv with dpkg is
easy as well.

Code:
dpkg -l | grep ^ii | grep makemkv

will produce the following output :

user@xbmcdev:~$ dpkg -l | grep ^ii | grep makemkv
ii  makemkv-v1.6.3-bin                    20101219-1                                      Package created with checkinstall 1.6.1
ii  makemkv-v1.6.3-oss                    20101219-1                                      Package created with checkinstall 1.6.1
user@xbmcdev:~$

to remove this 2 packages we would need the command

dpkg -r makemkv-v1.6.3-bin
dpkg -r makemkv-v1.6.3-oss

* You can easy install makemkv with the command dpkg -i name-of-deb.deb

* This is the way software should installed or removed on Debian based system.


- Baswazz - 2011-01-02

Thx for your perfect clear help. When the new key is available i will add it as you explained.


- linuxluemmel - 2011-01-02

np ,-) you're welcome


- Kablooie - 2011-01-02

Hey guys,

In theory, will this work on an ASRock ION 333 system? I followed the instructions (actually found out about this on lifehacker.com) and when I try to play a blu-ray disc, it doesn't even get to the "preparing blu-ray" window. It seems to spin up the disc, think a bit, and just hang.

Any suggestions? How do I enable xbmc / plugin logs?

Thanks,
Kablooie


- Baswazz - 2011-01-02

Kablooie Wrote:Hey guys,

In theory, will this work on an ASRock ION 333 system? I followed the instructions (actually found out about this on lifehacker.com) and when I try to play a blu-ray disc, it doesn't even get to the "preparing blu-ray" window. It seems to spin up the disc, think a bit, and just hang.

Any suggestions? How do I enable xbmc / plugin logs?

Thanks,
Kablooie

Have you installed the plugin.makemkvbluray.zip from a few posts above (install add-on from zip file)?


- linuxluemmel - 2011-01-03

I saw on the following url that there is a new beta Key (valid until 02.01.2011)

http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053


After Upgrade to new XMBC blu ray plugin dissapeared - Rafal - 2011-01-04

Dear all,

After I upgraded to the new XMBC the bluray add-on plugin disappeared from the add-on menu and I cannot put it there anymore... Consequently I cannot run bluray discs anymore. Is there any solutions to that?

Than U in advance

Rafal


- CoDeX2k - 2011-01-06

Hi everybody,

I just tried the makemkv plugin on my xbmc 10.0.

I then browsed for a index.bdmv on a test bluray I have stored on my nas. It then starts counting up the % to 100% while waiting for a stream. And than the message "Playback failed" comes up...

Here is my log file from the playback:

Code:
12:52:25 T:3054581632 M:1375330304   DEBUG: ------ Window Deinit (FileBrowser.xml) ------
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] Staring
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR-settings 1] reading settings
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR-settings 1] raw param string: ?mode=2&autoplay=True
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] "makemkvcon" stream file:smb://10.10.150.6/MOViES/BLU-RAY/Test-Bluray/
12:52:26 T:2906512240 M:1375965184   DEBUG: ------ Window Init (DialogProgress.xml) ------
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] Running makemkvcon locally
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] attempting linux kill of makemkvcon
12:52:26 T:2906512240 M:1593679872  NOTICE: [BR 1] attempting windows kill of makemkvcon
12:52:26 T:2906512240 M:1376600064  NOTICE: [BR 1] "makemkvcon" stream file:smb://10.10.150.6/MOViES/BLU-RAY/Test-Bluray/
12:52:26 T:2906512240 M:1375711232   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/math.so. flags: 2
12:52:26 T:2906512240 M:1376092160   DEBUG: Loading: /home/xbmc/.xbmc/temp/math.so
12:52:26 T:2906512240 M:1376092160   DEBUG: RegisterExtensionLib, adding math.so (0xaa3b3728)
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlsym - load symbol initmath
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/_random.so. flags: 2
12:52:26 T:2906512240 M:1376092160   DEBUG: Loading: /home/xbmc/.xbmc/temp/_random.so
12:52:26 T:2906512240 M:1376092160   DEBUG: RegisterExtensionLib, adding _random.so (0xaa3248b8)
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlsym - load symbol init_random
12:52:53 T:2669075312 M:1376116736   DEBUG: Thread 2669075312 terminating (autodelete)
12:53:56 T:3054581632 M:1376022528  NOTICE: Samba is idle. Closing the remaining connections
12:53:58 T:3054581632 M:1377554432   DEBUG: HttpApi Start command: Action  paras: Action; 7
12:53:58 T:2906512240 M:1376284672   DEBUG: Previous line repeats 4 times.
12:53:58 T:2906512240 M:1376284672    INFO: Scriptresult: Success
12:53:58 T:2906512240 M:1376284672   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
12:53:58 T:2906512240 M:1376284672   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
12:53:58 T:2906512240 M:1376284672   DEBUG: RegisterExtensionLib, adding collections.so (0xab1261c0)
12:53:58 T:2906512240 M:1376284672   DEBUG: xbp_dlsym - load symbol initcollections
12:53:58 T:2906512240 M:1376284672    INFO: Python script stopped
12:53:58 T:2906512240 M:1376284672   DEBUG: Thread 2906512240 terminating
12:53:58 T:3054581632 M:1376284672   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
12:53:58 T:3054581632 M:1376284672   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.makemkvbluray/?mode=2&autoplay=True]
12:53:58 T:3054581632 M:1376284672   DEBUG: Playlist Player: one or more items failed to play... aborting playback
12:53:58 T:3054581632 M:1376284672    INFO: Loading skin file: DialogOK.xml
12:53:58 T:3054581632 M:1376284672   DEBUG: ------ Window Init (DialogOK.xml) ------
12:53:58 T:3054581632 M:1376284672   DEBUG: python thread 15 destructed
12:53:58 T:3054581632 M:1376284672   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
12:54:08 T:3054581632 M:1377583104    INFO: Python, unloading python24.dll because no scripts are running anymore
12:54:08 T:3054581632 M:1377583104   DEBUG: UnloadExtensionLibs, clearing python extension libraries
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: select.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: fcntl.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: struct.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: binascii.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: cStringIO.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: time.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: strop.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _socket.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _ssl.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: array.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: math.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _random.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: collections.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: python24-i486-linux.so

maybe someone know's what I am doing wrong.

Thanks a lot for your help guys

Cheers
CoDeX2k


- magnetism - 2011-01-06

You can't stream from an SMB share like that. MakeMKV needs access on the filesystem level, it cannot use the XBMC reference smb://

CoDeX2k Wrote:Hi everybody,

I just tried the makemkv plugin on my xbmc 10.0.

I then browsed for a index.bdmv on a test bluray I have stored on my nas. It then starts counting up the % to 100% while waiting for a stream. And than the message "Playback failed" comes up...

Here is my log file from the playback:

Code:
12:52:25 T:3054581632 M:1375330304   DEBUG: ------ Window Deinit (FileBrowser.xml) ------
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] Staring
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR-settings 1] reading settings
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR-settings 1] raw param string: ?mode=2&autoplay=True
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] "makemkvcon" stream file:smb://10.10.150.6/MOViES/BLU-RAY/Test-Bluray/
12:52:26 T:2906512240 M:1375965184   DEBUG: ------ Window Init (DialogProgress.xml) ------
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] Running makemkvcon locally
12:52:26 T:2906512240 M:1375965184  NOTICE: [BR 1] attempting linux kill of makemkvcon
12:52:26 T:2906512240 M:1593679872  NOTICE: [BR 1] attempting windows kill of makemkvcon
12:52:26 T:2906512240 M:1376600064  NOTICE: [BR 1] "makemkvcon" stream file:smb://10.10.150.6/MOViES/BLU-RAY/Test-Bluray/
12:52:26 T:2906512240 M:1375711232   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/math.so. flags: 2
12:52:26 T:2906512240 M:1376092160   DEBUG: Loading: /home/xbmc/.xbmc/temp/math.so
12:52:26 T:2906512240 M:1376092160   DEBUG: RegisterExtensionLib, adding math.so (0xaa3b3728)
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlsym - load symbol initmath
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/_random.so. flags: 2
12:52:26 T:2906512240 M:1376092160   DEBUG: Loading: /home/xbmc/.xbmc/temp/_random.so
12:52:26 T:2906512240 M:1376092160   DEBUG: RegisterExtensionLib, adding _random.so (0xaa3248b8)
12:52:26 T:2906512240 M:1376092160   DEBUG: xbp_dlsym - load symbol init_random
12:52:53 T:2669075312 M:1376116736   DEBUG: Thread 2669075312 terminating (autodelete)
12:53:56 T:3054581632 M:1376022528  NOTICE: Samba is idle. Closing the remaining connections
12:53:58 T:3054581632 M:1377554432   DEBUG: HttpApi Start command: Action  paras: Action; 7
12:53:58 T:2906512240 M:1376284672   DEBUG: Previous line repeats 4 times.
12:53:58 T:2906512240 M:1376284672    INFO: Scriptresult: Success
12:53:58 T:2906512240 M:1376284672   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
12:53:58 T:2906512240 M:1376284672   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
12:53:58 T:2906512240 M:1376284672   DEBUG: RegisterExtensionLib, adding collections.so (0xab1261c0)
12:53:58 T:2906512240 M:1376284672   DEBUG: xbp_dlsym - load symbol initcollections
12:53:58 T:2906512240 M:1376284672    INFO: Python script stopped
12:53:58 T:2906512240 M:1376284672   DEBUG: Thread 2906512240 terminating
12:53:58 T:3054581632 M:1376284672   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
12:53:58 T:3054581632 M:1376284672   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.makemkvbluray/?mode=2&autoplay=True]
12:53:58 T:3054581632 M:1376284672   DEBUG: Playlist Player: one or more items failed to play... aborting playback
12:53:58 T:3054581632 M:1376284672    INFO: Loading skin file: DialogOK.xml
12:53:58 T:3054581632 M:1376284672   DEBUG: ------ Window Init (DialogOK.xml) ------
12:53:58 T:3054581632 M:1376284672   DEBUG: python thread 15 destructed
12:53:58 T:3054581632 M:1376284672   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
12:54:08 T:3054581632 M:1377583104    INFO: Python, unloading python24.dll because no scripts are running anymore
12:54:08 T:3054581632 M:1377583104   DEBUG: UnloadExtensionLibs, clearing python extension libraries
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: select.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: fcntl.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: struct.so
12:54:08 T:3054581632 M:1377583104   DEBUG: Unloading: binascii.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: cStringIO.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: time.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: strop.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _socket.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _ssl.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: array.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: math.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: _random.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: collections.so
12:54:08 T:3054581632 M:1377710080   DEBUG: Unloading: python24-i486-linux.so

maybe someone know's what I am doing wrong.

Thanks a lot for your help guys

Cheers
CoDeX2k



- CoDeX2k - 2011-01-06

So if I would move the Folder from the NAS to the local harddrive it would work? Or over USB?


- magnetism - 2011-01-06

CoDeX2k Wrote:So if I would move the Folder from the NAS to the local harddrive it would work? Or over USB?

Yes, or you could mount the smb share on the local file system, that would work too. However, since XBMC 10 has libbluray support, you should be able to play that blu ray rip straight from XBMC. No need for makemkv.


- CoDeX2k - 2011-01-06

magnetism Wrote:However, since XBMC 10 has libbluray support, you should be able to play that blu ray rip straight from XBMC. No need for makemkv.

I had the xbmcfreak maverik 10 v2 installed. Installed xbmc live 10.0 now and tried it again. Worked out pretty well, took about 10 seconds to initialize but than it runs smooth and works.

But the bluray I have still does not work... I tried the addon you created... It freezes. I cant control it anymore thru the keyboard. I created a putty session to the xbmc and checked the log.

Here you go:

Code:
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Starting the BluRay script
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Staring
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR-settings 1] reading settings
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR-settings 1] raw param string:
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] mode: None
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Showing categories
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=True
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Play Disc
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=1&autoplay=False
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Browse Disc
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=True
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Play Filelocation
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=2&autoplay=False
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Browse Filelocation
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=True
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Play Remote location
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=3&autoplay=False
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Browse Remote location
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] plugin://plugin.makemkvbluray/?mode=20&autoplay=True
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Settings
15:24:12 T:3006253936 M:1449742336  NOTICE: [BR 1] Showing categories done
15:24:12 T:3006253936 M:1449742336   ERROR:  EndOfDirectory - called with an invalid handle.
15:24:15 T:3006253936 M:1449717760  NOTICE: -->Python Interpreter Initialized<--
15:24:16 T:3006253936 M:1448951808  NOTICE: [BR 1] Starting the BluRay script
15:24:16 T:3006253936 M:1448951808  NOTICE: [BR 1] Staring
15:24:16 T:3006253936 M:1448951808  NOTICE: [BR-settings 1] reading settings
15:24:16 T:3006253936 M:1448951808  NOTICE: [BR-settings 1] raw param string: ?mode=20&autoplay=True
15:24:16 T:3006253936 M:1448951808  NOTICE: [BR 1] mode: 20
15:26:42 T:3006253936 M:1446920192  NOTICE: -->Python Interpreter Initialized<--
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] Starting the BluRay script
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] Staring
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR-settings 1] reading settings
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] mode: 1
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] Entering Disc mode
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] Staring
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR-settings 1] reading settings
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] "makemkvcon" stream disc:0
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] Running makemkvcon locally
15:26:42 T:3006253936 M:1446912000  NOTICE: [BR 1] attempting linux kill of makemkvcon
15:26:42 T:3006253936 M:1447284736  NOTICE: [BR 1] attempting windows kill of makemkvcon
15:26:42 T:3006253936 M:1447538688  NOTICE: [BR 1] "makemkvcon" stream disc:0

Thanks for your help.


- magnetism - 2011-01-06

You installed MakeMKV? Do you have two different optical drives by any chance?


- CoDeX2k - 2011-01-06

I installed it like it is descriped in http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224. No its a ASRock ION 330 HT - BD


- magnetism - 2011-01-06

Ok, so when you type makemkvcon in the commandline it works. Hmmm, strange. I don't see anything wrong in the logs. It creates the right command to start stream an inserted blu ray disc.

How long did you wait before killing XBMC?