![]() |
|
|||||||
| 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! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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 |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
Code removed by linuxluemmel
Last edited by linuxluemmel; 2009-06-15 at 00:12. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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. |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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 |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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 |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
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. |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
Code removed by linuxluemmel
Last edited by linuxluemmel; 2009-06-15 at 00:10. |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
Code remove by linuxluemmel
Last edited by linuxluemmel; 2009-06-15 at 00:11. |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Jun 2009
Location: Lucern / Switzerland
Posts: 242
![]() |
Code remove by linuxluemmel
Last edited by linuxluemmel; 2009-06-15 at 00:11. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|