• 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 38
Linux HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon)
fiveisalive Wrote: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.

Yes, this new version will work with eden only. Sorry.
Reply
magnetism Wrote:Yes, this new version will work with eden only. Sorry.

Can't you create compatibility code? If it's only that one change that's needed, I can easily create a patch and post it on github that will use a fallback method to create the tempfile.
Reply
fiveisalive Wrote:Can't you create compatibility code? If it's only that one change that's needed, I can easily create a patch and post it on github that will use a fallback method to create the tempfile.

Well, no. Or rather I could, but:

- Eden is close, since we're in beta 1 now
- I don't have a 10.1 release to test it against
- I don't have time

so I don't want to.

Patches welcome though, so feel free to shoot me a pull request.
Reply
Really chauffed yoy're working on this again Big Grin

Quick test on my Win7 laptop I get a script failed message with the following error in log
Code:
17:47:39 T:5076  NOTICE: -->Python Interpreter Initialized<--
17:47:39 T:5076   ERROR: Error Type: <type 'exceptions.ImportError'>
17:47:39 T:5076   ERROR: Error Contents: No module named settings
17:47:39 T:5076   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Bruce\AppData\Roaming\XBMC\addons\plugin.makemkvbluray\default.py", line 20, in <module>
                                                import settings, file, mkvparser, brlog, makemkv
                                            ImportError: No module named settings
17:47:39 T:4168   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.makemkvbluray
17:47:39 T:4168   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.makemkvbluray) failed
17:47:40 T:3968  NOTICE: -->Python Interpreter Initialized<--

As soon as I can prize wife off the TV I'll try it on my main linux machine.
Just an observation but I notice you've dropped the ".video." from the plugin name, I'm just checking so as to get my menu shortcut correct.
Noli illegitimi carborundum


Reply
Mudislander Wrote:Really chauffed yoy're working on this again Big Grin

Quick test on my Win7 laptop I get a script failed message with the following error in log
Code:
17:47:39 T:5076  NOTICE: -->Python Interpreter Initialized<--
17:47:39 T:5076   ERROR: Error Type: <type 'exceptions.ImportError'>
17:47:39 T:5076   ERROR: Error Contents: No module named settings
17:47:39 T:5076   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Bruce\AppData\Roaming\XBMC\addons\plugin.makemkvbluray\default.py", line 20, in <module>
                                                import settings, file, mkvparser, brlog, makemkv
                                            ImportError: No module named settings
17:47:39 T:4168   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.makemkvbluray
17:47:39 T:4168   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.makemkvbluray) failed
17:47:40 T:3968  NOTICE: -->Python Interpreter Initialized<--

As soon as I can prize wife off the TV I'll try it on my main linux machine.
Just an observation but I notice you've dropped the ".video." from the plugin name, I'm just checking so as to get my menu shortcut correct.

Hmm, strange. I don't have that problem. Settings is from my own plugin, so that should work. Unless
Code:
os.path.join( xbmcaddon.Addon().getAddonInfo('path'), "resources" )
doesn't work on windows as it should..

You're on eden-pre?
Reply
Oh, and regarding the .video. thing. I never had it locally .... So I guess I changed it a long time ago here.. It might make more sense to include it actually since it is a video plugin.
Something to ponder Wink
Reply
Quote:You're on eden-pre?

Yep Eden Beta 1 - compiled 24th Dec
Noli illegitimi carborundum


Reply
Mudislander Wrote:Yep Eden Beta 1 - compiled 24th Dec

Right, I've made a small change, since the path calculation wasn't using my plugin ID. I've pushed it to github, so if you've got access you can get a new version now. Otherwise you'll have to wait a while.
Reply
Thanks, I'll get it shortly.
Noli illegitimi carborundum


Reply
Hi,

very cool addon .. helps me increasing WAF for my HTPC Laugh

Unfortunately

- the latest addon version (plugin.makemkvbluray-1.1) raises script error (XBMC PVR Eden Beta Build 4. Jan 2012),

- the one from the #1 post here starts without error, the first minutes the drive is reading and working, something happens - but doesn't stream (nothing happens, XBMC freezes)

MakeMKV itself works, dumping and even streaming, tested with MPlayer ..

If you need log-info, plz tell where to find, I'll post it ..

So long

LastCoder
HTPC Specs: Silverstone GD05B Case, ASUS P8H61-M LE/USB3, i5-3470S, GT1030, 8 GB RAM , 2 TB HDD, iHOS104 BluRay Drive, TT DVBS2-1600, Sony PS3 BD Remote control
PS3 BD Remote Control Daemon for Kodi/Linux
UNCHAINED Demo Group
Reply
You can try getting the github version.
Reply
Sad nope ...

22:20:43 T:2977086320 NOTICE: [BR 1] Showing categories done
22:20:45 T:2977086320 NOTICE: -->Python Interpreter Initialized<--
22:20:45 T:2977086320 NOTICE: [BR 1] Starting the BluRay script
22:20:45 T:2977086320 NOTICE: [BR 1] args
22:20:45 T:2977086320 NOTICE: [BR 1] plugin://plugin.makemkvbluray/
22:20:45 T:2977086320 NOTICE: [BR 1] 0
22:20:45 T:2977086320 NOTICE: [BR 1] ?mode=1&autoplay=True&disc=0
22:20:45 T:2977086320 NOTICE: [BR 1] done args
22:20:45 T:2977086320 NOTICE: [BR 1] Staring
22:20:45 T:2977086320 NOTICE: [BR-settings 1] reading settings
22:20:45 T:2977086320 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True&disc=0
22:20:45 T:2977086320 NOTICE: [BR-settings 1] reading settings
22:20:45 T:2977086320 NOTICE: [BR-settings 1] raw param string: ?mode=1&autoplay=True&disc=0
22:20:45 T:2977086320 NOTICE: [BR 1] mode: 1
22:20:45 T:2977086320 NOTICE: [BR 1] Entering Disc mode
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] Starting stream on disc 0 with local url http://127.0.0.1:51000/
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] Starting makemkvcon -r --cache=128 stream disc:0
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] attempting linux kill of makemkvcon
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] Linux call successful
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] attempting windows kill of makemkvcon
22:20:45 T:2977086320 NOTICE: [BR-makemkvinteraction 1] Windows call successful
22:22:46 T:3018491664 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.makemkvbluray/?mode=1&autoplay=True&disc=0]

First everthing seems to be fine .. getting an "open disc" dialog, the drive starts working (guess the progressbar is still in work) works, works .. get "Playback not possible" ... as said, with makemkv and mplayer streaming works ..

So long

LastCoder
HTPC Specs: Silverstone GD05B Case, ASUS P8H61-M LE/USB3, i5-3470S, GT1030, 8 GB RAM , 2 TB HDD, iHOS104 BluRay Drive, TT DVBS2-1600, Sony PS3 BD Remote control
PS3 BD Remote Control Daemon for Kodi/Linux
UNCHAINED Demo Group
Reply
Hmm, from the looks of that log file it is killing the stream after it started... That's not good.
Windows, right?
Reply
Scratch that, it's just the logging that logs stuff to soon...

Did you change the default port of makemkv by any chance? If you run that command it prints

makemkvcon -r --cache=128 stream disc:0

What does the commandline tell you?
Reply
Hi magnetism,

it's running on linux (Xbuntu 11.10), I installed makemkv following these instructions

http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224

and I didn't change anything of the standard settings of makemkv (will prove it just to be on the safe side) ...

will try
Code:
makemkvcon -r --cache=128 stream disc:0
today evening and report ...

btw. "opening/browing" instead of "playing" the disc fails too ..

So long

LastCoder
HTPC Specs: Silverstone GD05B Case, ASUS P8H61-M LE/USB3, i5-3470S, GT1030, 8 GB RAM , 2 TB HDD, iHOS104 BluRay Drive, TT DVBS2-1600, Sony PS3 BD Remote control
PS3 BD Remote Control Daemon for Kodi/Linux
UNCHAINED Demo Group
Reply
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 38

Logout Mark Read Team Forum Stats Members Help
HOW-TO playback Blu-ray Disc in XBMC for Linux with MakeMKV (Plugin Addon)15