Kodi Community Forum
Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows) (/showthread.php?tid=52166)

Pages: 1 2 3 4 5 6 7 8


Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows) - linuxluemmel - 2009-06-03

Hello to all Smile

I'm a XBMC user since last week and for some good reasons I will produce in the near future a few scripts...

My first script for XBMC I created:

1.) DVD.PY

With my old ugly GUI, the MythTV frontend, I had the possibility to rip a DVD-Video to to my harddrive,. but since I moved to XBMC as my new frontend I want the same functions like in the old MythTV frontend.

Pro:
- ask at starting where to store the dvd
- ask at starting witch device should be used
- ask for the filename inlcuding the extension iso
- the script don't use libdvdcss anyway .... it uses dd for copy
- the iso copy plays perfectly inside xbmc (add a source)

Contra:
- German Language ... (look inside the script ... easy to change)
- Runs only on linux
- Have no progress bar (will come later)
- It is a Alpha version
- It is my first xbmc script
- Relies on the dd command to read disk sectors and dd does not come with Windows

[EDIT]:
Luemmel's DVD-Ripper has a new home, you can download and get updates here:
http://code.google.com/p/luemmels-dvd-ripper/

With the best greetings from Switzerland

Regards / Hans


littel correction from me ... - linuxluemmel - 2009-06-03

if you change the default rip-directory in dvd.py

# Directory where to store rips
dvd_dir = '/dvdrip'

to something other like

dvd_dir = '/home/user/dvdrip'


then you should also change the line :

complet_command = command + '> /dvdrip/dvdimport.log &'

to your new settings
complet_command = command + '> /home/user/dvdrip/dvdimport.log &'

CU Hans


[Release] dvd.py 0.1B for Linux - linuxluemmel - 2009-06-04

Code removed by linuxluemmel


Confirm working with MacOs X - linuxluemmel - 2009-06-05

Hello Fellows ;-)

Could somebody with a MacOS X and XBMC 9.04 try to change
the line .

sys.platform.startswith('linux')

to

sys.platform.startswith('darwin')

and try to run the script ?

I dont have a MacOS-X to test ....

If this would working I would make the changes to the script .... Big Grin

With the best greeting from switzerland
Hans



PS : For Windows may this could help ....


http://software.intel.com/en-us/articles/dd-for-windows/


I decidet to write the code also for Mac and Windows - linuxluemmel - 2009-06-05

Hello to all .-)

In the past 2 days i received a lot of emails asking to make a port to other
operating systems than linux. Ok, I wonna do it, if enough poeple would help
to clean the code from ugly errors .. (and may give some feedbak ... )


I will release 0.1C with support for Mac-OS in 1-2 days. It should be a easy part
because a dd command is inside the system.

cu hans


a few notes for the script - linuxluemmel - 2009-06-06

Hello ;-)

There are some important notes on my script :

- If your Linux-Box automaticly mount inserted dvd's disable this behavior.
If the dvd is in use (mounted) the command dd will not start proberly ....

- As soon the Job could be killed (signal -9) over the script I post the new version
0.1C

- Should now running on Mac too ...

CU Hans


[Release] 0.1C dvd.py for Linux and MacOS Part1/2 - linuxluemmel - 2009-06-06

hello .-)

I tried to paste the code of the new script into the window ...

Not possible because it was to large ... I will make 2 Parts .....



Code removed by linuxluemmel


Part 2/2 - linuxluemmel - 2009-06-06

Code removed by linuxluemmel


[Release] DVD-Ripper 0.1D - linuxluemmel - 2009-06-06

Code remove by linuxluemmel


Part 2/2 - linuxluemmel - 2009-06-06

Code remove by linuxluemmel


[Release] Lastet DVD-Ripper 0.1E - linuxluemmel - 2009-06-06

Code remove by linuxluemmel


Part 2/2 0.1E - linuxluemmel - 2009-06-06

Code remove by linuxluemmel


The next release will be no longer ALPHA State - linuxluemmel - 2009-06-06

Hello .)

After removing a lot of typos and a better errror-handling inside the script ...
The script leaves alpha state and will come Beta ....

The first Beta Release will have :

- preview a few secounds of the movie
- calculate size for rip
- May I hear a few words from a Mac-OS X User to improve that part ...
(I guess it works but without any feedback it's not easy ....)

With the best greetings from switzerland ...

Hans


[Release] Lastet DVD-Ripper 0.2A (Beta) for Linux / Mac-OS - linuxluemmel - 2009-06-07

Code remove by linuxluemmel


Part 2/2 DVD-Ripper 0.2A - linuxluemmel - 2009-06-07

Code remove by linuxluemmel