Kodi Community Forum

Full Version: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 39 40 41 42 43 44
heh, didn't mean to yell just to make it clear Wink
spiff Wrote:heh, didn't mean to yell just to make it clear Wink
Do you know howmay replacements are be made from blueray to bluray Nod
http://code.google.com/p/swiss-army-knif...etail?r=72
You can be sure that I made more than just 2 replacements ... Laugh
Regards
Hans
linuxluemmel Wrote:Do you know howmay replacements are be made from blueray to bluray Nod
http://code.google.com/p/swiss-army-knif...etail?r=72
You can be sure that I made more than just 2 replacements ... Laugh
Regards
Hans

Could just call it SonyCrap. As long as it plays or backs up that high dollar Sony Crapola with their DRM, you can call it what you want. Smile

Now that you changed the name, you might want to put a BluRay logo and disclaimer with it.
speed32219 Wrote:Now that you changed the name, you might want to put a BluRay logo and disclaimer with it.

If you are ripp a dvd or bluray, who cares ? But a offical logo would be fine ..
I ask Sony ;_)
Hans
Hans,

I've install via the setup.sh and this error on starting the script

Code:
21:13:05 T:2936077168 M:1922576384  NOTICE: -->Python Interpreter Initialized<--
21:13:05 T:2936077168 M:1922576384   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/swiss-army-knife/default.py
21:13:05 T:2936077168 M:1922576384   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/swiss-army-knife:/usr/share/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
21:13:05 T:2936077168 M:1922576384   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/swiss-army-knife
21:13:05 T:2936077168 M:1922576384    INFO: -->Python script returned the following error<--
21:13:05 T:2936077168 M:1922576384   ERROR: Error Type: exceptions.SyntaxError
21:13:05 T:2936077168 M:1922576384   ERROR: Error Contents: ('invalid syntax', ('/home/xbmc/.xbmc/addons/swiss-army-knife/default.py', 117, 34, '                      time.sleep 1\n'))
21:13:05 T:2936077168 M:1922703360   ERROR:   File "/home/xbmc/.xbmc/addons/swiss-army-knife/default.py", line 117
                                                time.sleep 1
                                                           ^
                                            SyntaxError: invalid syntax
21:13:05 T:2936077168 M:1922703360    INFO: -->End of Python script error report<--
21:13:05 T:2936077168 M:1922703360   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/time.so. flags: 2
21:13:05 T:3077789568 M:1922830336   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:13:05 T:3077789568 M:1922830336   DEBUG: Alloc resources: 0.00ms (0.00 ms skin load)
21:13:05 T:2936077168 M:1922830336   DEBUG: Loading: /home/xbmc/.xbmc/temp/time.so
21:13:05 T:2936077168 M:1922830336   DEBUG: RegisterExtensionLib, adding time.so (0xb514eb90)
21:13:05 T:2936077168 M:1922830336   DEBUG: xbp_dlsym - load symbol inittime
21:13:05 T:2936077168 M:1922830336   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/collections.so. flags: 2
21:13:05 T:2936077168 M:1922957312   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
21:13:05 T:2936077168 M:1922957312   DEBUG: RegisterExtensionLib, adding collections.so (0xb51a0b88)
21:13:05 T:2936077168 M:1922957312   DEBUG: xbp_dlsym - load symbol initcollections
21:13:05 T:2936077168 M:1922957312    INFO: Python script stopped
21:13:05 T:2936077168 M:1922957312   DEBUG: Thread 2936077168 terminating
21:13:05 T:3077789568 M:1922957312   DEBUG: python thread 1 destructed

any ideas?

If it helps
I'm running minimal 10.04 ubuntu with pvr-testing-36~yavdr-lucid30871+6 xbmc
Sorry but even the gui is not running by now ...
As a remainder for the next couple of days :

THIS IS A PRE-PRE-PRE-ALPHA

Please wait a few days ...
But you could test the scripts and the provided debs..
Hans
AuXBoX Wrote:Hans,

I'm running minimal 10.04 ubuntu with pvr-testing-36~yavdr-lucid30871+6 xbmc

I guess by tomorrow I could make release with only bluray transcoding.

- It works and is very slow ....
- Has no progress-bar visible (on this I work right now ...)
- Bluray transcoding is the only functions that works.
- In the moment I have a few crashes of xbmc I have to investigate ...
Ok I have working ALPHA-Release 1

http://swiss-army-knife.googlecode.com/f...pha-01.zip
What is working or should working ...
1.) Transcode bluray to mkv wihout any user-input
2.) Inside the Job-Menuentry you see the progress-bar
3,) All settings should work now ...

... all other things are not pogrammed ....

Please do run configuration first and change your directorys.
You have also to install handbrake and makemkv four your system.

I plan to provide after a few days alpha 2.
Please give feedback to me
All the libs and files installed without problem (well done), although took a while hitting all those Y to continue loading the required libs. I installed Handbrake. Everything going OK so far using Lucid 32 bit.

I installed the MP4.sh to test next. I didn't know where to put it as far as location, I assume the ~/.xbmc/userdata/addon_data/script-video-ripper/bluray, and I get a failure. I've also tried it in variious other directoires without success. Here is the error I am now getting, also tried running it using the terminal with CLI but it gets stuck in a loop.

Code:
04:38:25 T:3046443888 M:1398382592   DEBUG: Python thread: start processing
04:38:25 T:3046443888 M:1398382592  NOTICE: -->Python Interpreter Initialized<--
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/swiss-army-knife/default.py
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/swiss-army-knife:/usr/share/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/swiss-army-knife
04:38:25 T:3046443888 M:1398382592    INFO: -->Python script returned the following error<--
04:38:25 T:3046443888 M:1398382592   ERROR: Error Type: exceptions.SyntaxError
04:38:25 T:3046443888 M:1398382592   ERROR: Error Contents: ('invalid syntax', ('/home/xbmc/.xbmc/addons/swiss-army-knife/default.py', 117, 34, '                      time.sleep 1\n'))
04:38:25 T:3046443888 M:1398382592   ERROR:   File "/home/xbmc/.xbmc/addons/swiss-army-knife/default.py", line 117
                                                time.sleep 1
                                                           ^
                                            SyntaxError: invalid syntax
04:38:25 T:3046443888 M:1398382592    INFO: -->End of Python script error report<--
04:38:25 T:3078272896 M:1398382592   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
04:38:25 T:3078272896 M:1398382592   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/time.so. flags: 2
04:38:25 T:3046443888 M:1398382592   DEBUG: Loading: /home/xbmc/.xbmc/temp/time.so
04:38:25 T:3046443888 M:1398382592   DEBUG: RegisterExtensionLib, adding time.so (0xbaeb100)
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlsym - load symbol inittime
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/collections.so. flags: 2
04:38:25 T:3046443888 M:1398382592   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
04:38:25 T:3046443888 M:1398255616   DEBUG: RegisterExtensionLib, adding collections.so (0xb7d7af8)
04:38:25 T:3046443888 M:1398255616   DEBUG: xbp_dlsym - load symbol initcollections
04:38:25 T:3046443888 M:1398255616    INFO: Python script stopped
04:38:25 T:3046443888 M:1398255616   DEBUG: Thread 3046443888 terminating
04:38:25 T:3078272896 M:1398255616   DEBUG: python thread 8 destructed

And using the terminal with CLI I get this:
with MP4 installed and run from the /home/xbmc/.xbmc/addons/swiss-army-knife directory. (This is where I have another copy of MP4 installed)

Code:
sh mp4.sh /dev/sr0 /mnt/disk1 test 2 6

-----------------------------------------------------------------
changed to /home/xbmc/.xbmc/addons/swiss-army-knife/shell-linux
-----------------------------------------------------------------


---------------
Toolchain found
---------------


------------------
Starting transcode
------------------

5 paramters /dev/sr0 /mnt/disk1 test 2 6
nohup: appending output to `nohup.out'
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.

The HandBrake has exited message continues on and on filling up pages.

Hope this helps.
speed32219 Wrote:All the libs and files installed without problem (well done), although took a while hitting all those Y to continue loading the required libs. I installed Handbrake. Everything going OK so far using Lucid 32 bit.

I installed the MP4.sh to test next. I didn't know where to put it as far as location, I assume the ~/.xbmc/userdata/addon_data/script-video-ripper/bluray, and I get a failure. I've also tried it in variious other directoires without success. Here is the error I am now getting, also tried running it using the terminal with CLI but it gets stuck in a loop.

Code:
04:38:25 T:3046443888 M:1398382592   DEBUG: Python thread: start processing
04:38:25 T:3046443888 M:1398382592  NOTICE: -->Python Interpreter Initialized<--
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/swiss-army-knife/default.py
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/swiss-army-knife:/usr/share/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
04:38:25 T:3046443888 M:1398382592   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/swiss-army-knife
04:38:25 T:3046443888 M:1398382592    INFO: -->Python script returned the following error<--
04:38:25 T:3046443888 M:1398382592   ERROR: Error Type: exceptions.SyntaxError
04:38:25 T:3046443888 M:1398382592   ERROR: Error Contents: ('invalid syntax', ('/home/xbmc/.xbmc/addons/swiss-army-knife/default.py', 117, 34, '                      time.sleep 1\n'))
04:38:25 T:3046443888 M:1398382592   ERROR:   File "/home/xbmc/.xbmc/addons/swiss-army-knife/default.py", line 117
                                                time.sleep 1
                                                           ^
                                            SyntaxError: invalid syntax
04:38:25 T:3046443888 M:1398382592    INFO: -->End of Python script error report<--
04:38:25 T:3078272896 M:1398382592   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
04:38:25 T:3078272896 M:1398382592   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/time.so. flags: 2
04:38:25 T:3046443888 M:1398382592   DEBUG: Loading: /home/xbmc/.xbmc/temp/time.so
04:38:25 T:3046443888 M:1398382592   DEBUG: RegisterExtensionLib, adding time.so (0xbaeb100)
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlsym - load symbol inittime
04:38:25 T:3046443888 M:1398382592   DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/collections.so. flags: 2
04:38:25 T:3046443888 M:1398382592   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
04:38:25 T:3046443888 M:1398255616   DEBUG: RegisterExtensionLib, adding collections.so (0xb7d7af8)
04:38:25 T:3046443888 M:1398255616   DEBUG: xbp_dlsym - load symbol initcollections
04:38:25 T:3046443888 M:1398255616    INFO: Python script stopped
04:38:25 T:3046443888 M:1398255616   DEBUG: Thread 3046443888 terminating
04:38:25 T:3078272896 M:1398255616   DEBUG: python thread 8 destructed

And using the terminal with CLI I get this:
with MP4 installed and run from the /home/xbmc/.xbmc/addons/swiss-army-knife directory. (This is where I have another copy of MP4 installed)

Code:
sh mp4.sh /dev/sr0 /mnt/disk1 test 2 6

-----------------------------------------------------------------
changed to /home/xbmc/.xbmc/addons/swiss-army-knife/shell-linux
-----------------------------------------------------------------


---------------
Toolchain found
---------------


------------------
Starting transcode
------------------

5 paramters /dev/sr0 /mnt/disk1 test 2 6
nohup: appending output to `nohup.out'
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.
HandBrake has exited.

The HandBrake has exited message continues on and on filling up pages.

Hope this helps.

The directory should be ....
changed to /home/xbmc/.xbmc/addons/swiss-army-knife/shell-linux
By now you can test dvd with alpha 6

svn checkout http://swiss-army-knife.googlecode.com/svn/trunk/ swiss-army-knife-read-only

By Alpha 8 I would like to change a few things


* On the main-screen are just 6 Buttons

* 1.) Transcode Bluray to mkv
* 2.) Transcode DVD
* 3.) Ripp DVD to ISO
* 4.) Jobs
* 5.) Expert-Mode
* 6.) Exit

If you press 1 - 3 the action behind will be started without user-input. WAF :-) You don't have to confirm anything ... It starts automatic or you get a error-message

On the jobs menu (4) you can watch a progress-bar for the current job or cancel the job.

Menupoint 5 will contain more options (like the confirmed-mode in my old-script) and can be protected by password if you wish to do this. (Configuration Setting)
Cheers Hans
Yes I had a very hard start with my new addon but by now the pices come together.

- Clean Python GUI-Part and OS-Function part
- Simple Settings
- You could write your own ripper-scripts if you like.

Regards
Hans
Hi,
first of all thanks for your work but I cannot get the addon to be up and running.
I executed the setup but at the end it says:
Quote:create setup.done and licence-file inside addon-data-directory

cp: Aufruf von stat für "EULA-0.6.12" nicht möglich: no such file or directory
(I've got the German Version installed)
In XBMC there is an error message when trying to execute the addon which says "configured ssh-user is not current user".
I installed the addon in my home directory and xbmc is executed with my username, too.
In the setup there was no error while creating the ssh-keys and copying the public key.
What is the ssh-stuff good for at all, it's just executed locally, isn't it?
If you are running xbmc with the username xbmc then executable xbmc must be executed with the exact username xbmc.
In the last release I did include this check to be sure that xbmc is not running
with a diffrent name that was used by the setup script.
Could you please provide xbmc.log and inside the settings of the addon avtivate
verbose log ?
Everything swiss.army.knife related is this:
Code:
13:20:10 T:140115509274688 M:3081945088   DEBUG: ADDON: cpluff: 'Suspicious plug-in descriptor content in /home/broco/.xbmc/addons/script.video.swiss.army.knife/addon.xml, line 11, column 5 (ignoring unexpected element provides and its contents).'
13:20:10 T:140115509274688 M:3081945088   DEBUG: ADDON: cpluff: 'Plug-in script.video.swiss.army.knife has been installed.'
13:20:22 T:140114426255120 M:3021373440   DEBUG: Process - The source file to load is /home/broco/.xbmc/addons/script.video.swiss.army.knife/default.py
13:20:22 T:140114426255120 M:3021373440   DEBUG: Process - Setting the Python path to /home/broco/.xbmc/addons/script.video.swiss.army.knife:/usr/lib/xbmc/addons/script.module.pil/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
13:20:22 T:140114426255120 M:3021373440   DEBUG: Process - Entering source directory /home/broco/.xbmc/addons/script.video.swiss.army.knife
13:20:24 T:140114426255120 M:3021385728 WARNING: CreateFile, successfuly opened </home/broco/.xbmc/addons/script.video.swiss.army.knife/resources/lib/Linux.py> instead of </home/broco/.xbmc/addons/script.video.swiss.army.knife/resources/lib/linux.py>
13:20:24 T:140114426255120 M:3021385728  NOTICE: [swiss-army-knife]: [GUIlog] addon-startet
13:20:24 T:140114426255120 M:3021385728  NOTICE: [swiss-army-knife]: [GUIlog] loading-configuration
13:20:24 T:140114426255120 M:3021328384  NOTICE: [swiss-army-knife]: [OSlog]  Warning current user and ssh-command mismatch !!!!!
13:20:24 T:140114426255120 M:3021328384   DEBUG: unable to load /home/broco/.xbmc/addons/script.video.swiss.army.knife/resources/language/German/strings.xml: Failed to open file at line 0

I am running xbmc not as user xbmc but with my normal username.
But when I executed your script (must have typed in "sudo" for installing the repositories) I gave the same username as input.
Does your script only work when the username is "xbmc"?

And please tell me why ssh is needed at all.
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 39 40 41 42 43 44