Hi guys,
I have a problem using the makemkv script on my xbmc 10.1 machine (on Arch Linux, 3.2.7-1-ARCH x86_64).
When I start makemkvcon myself on the console and choose play/browse remote, everything works perfectly fine. But when choosing play/browse disk, xbmc hangs immediately (and won't even return after the 120s timeout).
After having a look into the log and default.py, there seems to be a problem with the subprocess.call() / subprocess.Popen() calls:
Code:
12:20:22 T:140691183236864 M:1839529984 NOTICE: -->Python Interpreter Initialized<--
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] Starting the BluRay script
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] Staring
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR-settings 1] reading settings
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] mode: 1
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] Entering Disc mode
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] Staring
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR-settings 1] reading settings
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] "/usr/bin/makemkvcon" stream disc:0
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] Running makemkvcon locally
12:20:23 T:140691183236864 M:1839497216 NOTICE: [BR 1] attempting linux kill of makemkvcon
When calling the corresponding functions in a seperate python2 shell, everything works fine:
Code:
[xbmc./home/xbmc/.xbmc]python2
Python 2.7.2 (default, Nov 21 2011, 17:25:27)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.Popen("/usr/bin/makemkvcon stream disc:0", shell=True)
<subprocess.Popen object at 0x7f7a47dc0510>
>>> MakeMKV v1.7.1 linux(x64-release) started
Profile parsing error: default profile missing, using builtin default
[...]
KeyboardInterrupt
>>> subprocess.call('killall -9 makemkvcon', shell=True)
0
Does anyone have an idea what the problem is?
Thanks, Chris