• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 8
  • Next 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)
#1
Information 
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
Reply
#2
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
Reply
#3
Code removed by linuxluemmel
Reply
#4
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...r-windows/
Reply
#5
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
Reply
#6
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
Reply
#7
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
Reply
#8
Code removed by linuxluemmel
Reply
#9
Code remove by linuxluemmel
Reply
#10
Code remove by linuxluemmel
Reply
#11
Code remove by linuxluemmel
Reply
#12
Code remove by linuxluemmel
Reply
#13
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
Reply
#14
Code remove by linuxluemmel
Reply
#15
Code remove by linuxluemmel
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 8
  • Next 



Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)00