XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2009-06-03, 13:55   #1
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Arrow Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)

Hello to all

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

Last edited by Gamester17; 2009-06-10 at 16:53.
linuxluemmel is offline   Reply With Quote
Old 2009-06-03, 16:39   #2
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default littel correction from me ...

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
linuxluemmel is offline   Reply With Quote
Old 2009-06-04, 11:18   #3
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default [Release] dvd.py 0.1B for Linux

Code removed by linuxluemmel

Last edited by linuxluemmel; 2009-06-15 at 00:12.
linuxluemmel is offline   Reply With Quote
Old 2009-06-05, 10:39   #4
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default Confirm working with MacOs X

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 ....

With the best greeting from switzerland
Hans



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


http://software.intel.com/en-us/arti...d-for-windows/

Last edited by linuxluemmel; 2009-06-05 at 11:59.
linuxluemmel is offline   Reply With Quote
Old 2009-06-05, 22:17   #5
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default I decidet to write the code also for Mac and Windows

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
linuxluemmel is offline   Reply With Quote
Old 2009-06-06, 13:50   #6
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default a few notes for the script

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
linuxluemmel is offline   Reply With Quote
Old 2009-06-06, 17:28   #7
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default [Release] 0.1C dvd.py for Linux and MacOS Part1/2

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

Last edited by linuxluemmel; 2009-06-15 at 00:10.
linuxluemmel is offline   Reply With Quote
Old 2009-06-06, 17:31   #8
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default Part 2/2

Code removed by linuxluemmel

Last edited by linuxluemmel; 2009-06-15 at 00:10.
linuxluemmel is offline   Reply With Quote
Old 2009-06-06, 19:39   #9
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default [Release] DVD-Ripper 0.1D

Code remove by linuxluemmel

Last edited by linuxluemmel; 2009-06-15 at 00:11.
linuxluemmel is offline   Reply With Quote
Old 2009-06-06, 19:41   #10
linuxluemmel
Senior Member
 
linuxluemmel's Avatar
 
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
linuxluemmel is on a distinguished road
Default Part 2/2

Code remove by linuxluemmel

Last edited by linuxluemmel; 2009-06-15 at 00:11.
linuxluemmel is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:25.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project