PDA

View Full Version : Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)


linuxluemmel
2009-06-03, 13:55
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

linuxluemmel
2009-06-03, 16:39
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
2009-06-04, 11:18
Code removed by linuxluemmel

linuxluemmel
2009-06-05, 10:39
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 .... :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/

linuxluemmel
2009-06-05, 22:17
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
2009-06-06, 13:50
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
2009-06-06, 17:28
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

linuxluemmel
2009-06-06, 17:31
Code removed by linuxluemmel

linuxluemmel
2009-06-06, 19:39
Code remove by linuxluemmel

linuxluemmel
2009-06-06, 19:41
Code remove by linuxluemmel

linuxluemmel
2009-06-06, 22:51
Code remove by linuxluemmel

linuxluemmel
2009-06-06, 22:55
Code remove by linuxluemmel

linuxluemmel
2009-06-06, 23:12
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

linuxluemmel
2009-06-07, 20:41
Code remove by linuxluemmel

linuxluemmel
2009-06-07, 20:44
Code remove by linuxluemmel

clock2113
2009-06-07, 21:46
"script may running on Windows in the future ...'"

Can't wait for this! :)

linuxluemmel
2009-06-07, 22:38
"script may running on Windows in the future ...'"

Can't wait for this! :)


You could help me to port ....

1.) Insert a dvd play it a few scounds inside xbmc (9.04) under windows.
2.) Install this dd tools to c:\windows\system32 or something witch is inside your %PATH%

http://www.chrysocome.net/downloads/dd-0.5.zip


try to rip with something like

dd if=/device of=c:\dvdrip\change-me.iso


Play around with the block-size and the device (dd --list)

If you give me the right commands and the confirmation that it runs under
windows i make the rest ...


Best greetings from switzerland
Hans

clock2113
2009-06-07, 23:43
It works!

I used:

dd if=\\?\Devices\CdRom0 of=c:\weddingcrashers.iso bs=1M

I did indeed have to play the movie first, and had to do the bs=1M thing for it to work. Note that this was a backup DVD-R that already had the copy protection stripped... I'll have to try a retail DVD tonight to see if it works too

:)

linuxluemmel
2009-06-08, 10:55
It works!

I used:

dd if=\\?\Devices\CdRom0 of=c:\weddingcrashers.iso bs=1M

I did indeed have to play the movie first, and had to do the bs=1M thing for it to work. Note that this was a backup DVD-R that already had the copy protection stripped... I'll have to try a retail DVD tonight to see if it works too

:)

Could someone other also test under Macos ?
What are the commands for Macos ?
There is no need to donwload dd because it sould be allready there ...

Greeting from switzeland
Hans

linuxluemmel
2009-06-08, 14:56
I will replace the ugly os.system calls to a internel function xbmc function

xbmc.executebuiltin( "System.Exec(/usr/bin/dd -- )" ) and I hope the

the execution goes faster ...


If all works fine like expected ... I may download version 0.2B tonight or
tommorrow ...

- Until now there is no feedback from the Mac-OS User side ...
(So my script indead runs on this os ... or nobody tried my script .....)

- I have 1 confirmed answer from the windows side ... that dd
is working ...


In 2 days I go Italy for a few days ...

Greetings
Hans

spiff
2009-06-08, 15:02
ffs, use a pastebin!

linuxluemmel
2009-06-08, 15:25
Ok

Future Release of the dvd-ripper always come her :



The latest version of the hole script is 0.2A and is on this entry :



I will not longer insert the code into the forum...



With the best greetings from switzerland ....

Hans

linuxluemmel
2009-06-09, 02:24
The blue pill doesn't work

- I installed a Windows XBMC and tryd to run the script ... no way ....
- DD command is not properly running 100 %
- sometime it does .... sometimes not .... and sometime it is stopped on the half of the way.

With such a envirmont ... I can not make a working script ....

Until next week I made a Google-Project for this ripper ....
Details coming soon ...
hans

Could someone with Windows ... paste the corrections back to : Blue-Pill 2

linuxluemmel
2009-06-09, 13:53
Hello to all .)

The latest public Release for the script : (Linux)

Code removed by linuxluemmel

This is Version 0.2A and it runs under Linux out of the box and needs the following :

- transcode and mjpegtools
- dd

Because there is no feedback from MacUsers for the next 4-5 Releases
I will complette remove that part ....

Sorry to say ....
There will be no Windows Script . My first attempt to
test the script with windows endet in a desaster ... (os.uname () function not found ....) . The dd command (Version 0.5) works not at 100 %
on my windows ... / Alle Parts with \ have to be replaced with \\

If someone will give me a command-line tool that generate iso rip from
a dvd ... i will make the changes to the script.

1.) The tool must be running in cmd window wihtout user input
2.) The tool is Opensource (GPL prefered .... )
3.) There are at least 5 poeple to confirm that this command-line
tool works out of the box with windows xp

With the best greetings from sitzerland ....

linuxluemmel
2009-06-09, 19:49
OK now it works ...

I'm to stupid to see the difference between Devices and Device
This was my error ... At the end I don't know howmany replacements for \ I made ....
Ok I'm not the joungest ;-) I'm geting old ... -(


This blue pill is only for windows NO LINUX NO MAC
... I testet the script ... It works ...

1. Make Folder inside your Script Directory :
2. copy blue.py into this folder
3. Replace following to pieces according your own OS :

dvd_dir = 'K:\\dvdrip'
dvd_device = '\\\?\\Device\\CdRom0'

to example:

dvd_dir = 'C:\\isos'
dvd_device = '\\\?\\Device\\CdRom1'

No open your XBMC and look at the desired dvd ..... (skip intro ....)
and play a bit of the movie ...

Start the sript ...
It needs dd Version 0.5 from here .

http://www.chrysocome.net/downloads/dd-0.5.zip

After unpacking the dd should be moved to C:\WINDOWS\SYSTEM32

Start the script ....
Confirm execution ....

It opens a cmd with the dd process inside ...
it's may a bit slow (like on linux) but it works. I guess every process startet over xbmc with high I/O is slow ....

If someone has a solution to hide this ugly cmd window that would be perfect.
And a nice commandline argument like & under linux would be better ... (RunAsService from Winternals ?)

On this Link you can download the working blue pill BTW : In this release the default language is english .-0

Good Look ;_O)

linuxluemmel
2009-06-14, 20:44
Hello :-) I'm back from Italy .... it was very nice ...


RELEASE LINUX

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.4A.tar

Please have a look at the Readme ,-)

http://code.google.com/p/luemmels-dvd-ripper/wiki/readmelinux

This release is now working over ssh


RELEASE WINDOWS

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-windows-0.3B.zip

As it seems only 4 users downloadet this release ....


RELEASE MACOS-X

As long nobody could confirm that copy a dvd with dd is working I could not make this version

- dvd device for Mac ?
- Rip-directory could be anywhere ?
- awk is installed ?
- transcode and mjpegtools are installable ?

linuxluemmel
2009-06-16, 13:52
I'm working on new Release 0.4B for Linux with following enhancements

- Read the name of dvd at startup and sugest name including extension iso
- Has a resource directory for multiple languages
- German and English are included
- I speak a few foreign Languages very good (French / English / Spanish)
but my writing skills aren't the best in the above languages ... (You may excuse my
poor english writings )
Sending of Strings.xml in other languages is very welcome ... (Voulez vous ripper cette dvd ?) (Donde estan las otras idiomas ... ?)

- As soon the release is finish I will upload 0.4b at the Homepage

http://code.google.com/p/luemmels-dvd-ripper/downloads/list


If you have questions send a email to :

linuxluemmel.ch@gmail.com

Hans

Ticko
2009-06-16, 23:43
Great work!
I am missing this sort of program to my linux htpc.
Dvd2Xbox is a nice similar program for the old xbox that i have tried.

linuxluemmel
2009-06-17, 00:11
Great work!
I am missing this sort of program to my linux htpc.
Dvd2Xbox is a nice similar program for the old xbox that i have tried.

Did you try the latest public beta release 0.4A ?

Have you found any problems .. ?

With the best greetings from switzerland ...
Hans

linuxluemmel
2009-06-17, 01:54
It is finished ....

- localized in German and English ....
- Reads dvd-name for the rip and adds .iso
- If you cancel the job ... iso and preview.mpg would be deleted ...

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.4B.tar


Greetings from switzerland ...
Hans

Next Release 0.4C may have :

- Burn a allready ripped dvd from iso back to a dvd

A Point to remember : This is allowed in Switzerland ...

- more languages than german and english This needs a few other strings.xml ....


http://luemmels-dvd-ripper.googlecode.com/files/strings.xml

Donwload the english string.xml and translate it into your own language ...

send them back to linuxluemmel.ch@gmail.ch
and don't forget to name the Folder for your Language (other than German and English)



- Progress bar for the ripping operation

CrashX
2009-06-18, 19:15
Do you mind posting some screenshots ?

linuxluemmel
2009-06-18, 22:15
I will make a few screenshots after I released version 0.4C on witch I'm working
in the moment.

With the best greetings from switzerland
Hans

Fiasco
2009-06-18, 22:43
Just put dvd.py in the xbmc/scripts folder?

linuxluemmel
2009-06-18, 22:58
Yes ... but you must first create the ssh envirmont ...

Please have a look at the Readme ...

http://code.google.com/p/luemmels-dvd-ripper/wiki/readmelinux

wihtout a working ssh the script will not work properly ...

Remember there 2 Versions ....

Red-Pill (runs only on linux has all features)
Blue-Pill (runs only on windows and needs a external programm called dd)

http://code.google.com/p/luemmels-dvd-ripper/


Atfer you installed dd and startet xbmc you have to watch the dvd you would like to rip a few secounds..
Then you can start my script dvd.py ....

Fiasco
2009-06-18, 23:28
I've got it running thanks.

I noticed one bug. The first yes/no prompt doesn't work right. If you click no it doesn't cancel the action and acts just like you clicked yes.

Is there any way to add a link for the script into the scripts link under "videos" in xbmc?

linuxluemmel
2009-06-18, 23:39
I know about this bug ... I will port most of the stuff from the linux
side to windows ...

Greetings from Switzerland and happy ripping
Hans

linuxluemmel
2009-06-19, 01:15
http://luemmels-dvd-ripper.googlecode.com/files/Mainmenu.png

http://luemmels-dvd-ripper.googlecode.com/files/confirmation.png

http://luemmels-dvd-ripper.googlecode.com/files/ask_ssh.png

http://luemmels-dvd-ripper.googlecode.com/files/ask_name.png

Fiasco
2009-06-19, 04:32
Can you also create xbmc dialogs with scrollbars? For example, the yes/no prompt to rip. Could it have a scrollbar that contains legal warning text that you have to scroll to the bottom before the yes button activates?

Changed the last part of the code in my copy of your script to not continue if no is pressed on the first dialog.

To

if (ask_ripping()):
mydisplay = MainClass()
del mydisplay


Thanks!

linuxluemmel
2009-06-19, 09:44
You sugest a warning notice before ripping ?

I use only dialogs witch xbmc provides over the python api.
I wonna have a closer look to that on weekend ....

With the best greetings from switzerland
Hans

iratecorpse
2009-06-19, 14:05
Is it possible that there will be an Xbox version of this somewhere down the line?

linuxluemmel
2009-06-19, 14:15
I would say yes ... if xbox version of xbmc has a working
dd command.

Linux and MacOS-X have a dd on board.
Windows User should donwload it from here :

http://www.chrysocome.net/downloads/dd-0.5.zip

On what kind of Operating System xbmc is running with XBox ?

You could try to compile the source-code and give me some feedback ,,,

http://www.chrysocome.net/downloads/dd-0.6beta1.src.zip

Cu Hans

BTW : I dont have a XBOX and I don't have Apple for testing the script ...

Gamester17
2009-06-19, 14:17
@everyone, please understand and respect that this forum and this specific topic thread is for developers only!

Discussion about this plugin for end-users (which includes requests and help) can be found here:http://xbmc.org/forum/showthread.php?t=52615

Is it possible that there will be an Xbox version of this somewhere down the line?Know that there is a native Xbox application which has this function called "DVD2Xbox" that you can install and launch from XBMC or any other Xbox application launcher:
http://dvd2xbox.xbox-scene.com/ (DO NOT ASK US WHERE TO GET THE XBOX BINARY/EXECUTABLE!)

By the way, the C++ source code for DVD2Xbox can be found here:
http://sourceforge.net/projects/dvd2xbox

On what kind of Operating System xbmc is running with XBox ?None really in a practical sense, (and certainly not Linux/UNIX), and know that only one single process-thread (executable program) can run at any one time on the Xbox, see:
http://en.wikipedia.org/wiki/XBMC#Xbox_embedded_operating_system

PS! Off-topic but FYI, a feature suggestion discussion about a native DVD-Ripper integrated into XBMC can be found here:
http://xbmc.org/forum/showthread.php?t=34960

spiff
2009-06-19, 14:43
lols

C-Quel
2009-06-19, 15:00
lols

cruel thoughts!

linuxluemmel
2009-06-20, 12:21
http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.4C.tar

linuxluemmel
2009-06-20, 17:20
http://code.google.com/p/luemmels-dvd-ripper/downloads/list

Fiasco
2009-06-21, 01:57
Linux,

On line 266 of your script for windows you have

command = 'dd if=' + DVD_device + ' ' + 'of=' + DVD_dir + '\\' + DVD_iso + ' bs=20480'

could you change it to this? (changes underlined)

command = 'dd if=' + DVD_device + ' ' + 'of="' + DVD_dir + '\\' + DVD_iso + '.iso" bs=20480'

If you have a space in your directory name or dvd title name the DD program will quit with an error. Also, appending .iso to the end saves having to type .iso when you enter the DVD title.

linuxluemmel
2009-06-21, 10:02
will be fixed in Release 0.4F

and threre is a other goood news for users of the blue-pill version

I found the solution to hide the dd process ....

If you confirm the execution of the dd process .... the process will
start 1 Minute after the confirmation over the command at

In the later evening I will release 0.4F (Blue-Pill)

Thanks for the info
Hans

Fiasco
2009-06-21, 10:07
Awesome thanks Linux.

Would this be possible?

When you pick the directory to rip the DVD to, would it be possible to just show a list of your video source directories so that you can just pick which video source directory to save the iso in?

LoloMc˛
2009-06-21, 12:20
http://luemmels-dvd-ripper.googlecode.com/files/strings.xml

Donwload the english string.xml and translate it into your own language ...

send them back to linuxluemmel.ch@gmail.ch
and don't forget to name the Folder for your Language (other than German and English)


Dear linuxluemmel,

Thank you for your script that I can not try (forbidden here) but anyway, please find the French translation for Strings.xml. (http://www.2shared.com/file/6392772/cdb53327/strings_fr.html)
As I do not understand the string, I am definitively not completely satisfied by translation of string "32008" but all others are ok (or should be :))

Rgs


EDIT : I did not see previously that it does not break CSS protection. So it is allowed in France ! In France, copying a digital media you own is allowed unless you have to break a protection (Do not ask if our politicians are stupids, but do ask why they are so corrupted instead!)
EDIT2 : Tried to rip an ISO and it works well but I had an error as the script wanted to store the file in a folder that did not exist. So it told me that it does not have write access for this directory... I change the path from "E:\ripfolder" to "E:\" and it works perfectly.
EDIT3 : A nice and intergrated GUI would be better don't you think ? I will have a look at this this afternoon but it would be better if you could have a progress bar ;)

linuxluemmel
2009-06-21, 17:41
Dear linuxluemmel,

Thank you for your script that I can not try (forbidden here) but anyway, please find the French translation for Strings.xml. (http://www.2shared.com/file/6392772/cdb53327/strings_fr.html)
As I do not understand the string, I am definitively not completely satisfied by translation of string "32008" but all others are ok (or should be :))

Rgs


EDIT : I did not see previously that it does not break CSS protection. So it is allowed in France ! In France, copying a digital media you own is allowed unless you have to break a protection (Do not ask if our politicians are stupids, but do ask why they are so corrupted instead!)
EDIT2 : Tried to rip an ISO and it works well but I had an error as the script wanted to store the file in a folder that did not exist. So it told me that it does not have write access for this directory... I change the path from "E:\ripfolder" to "E:\" and it works perfectly.
EDIT3 : A nice and intergrated GUI would be better don't you think ? I will have a look at this this afternoon but it would be better if you could have a progress bar ;)

Si tu me demandes cette script est legal en france... Oui, parce que la protection de la dvd n'est pas enlever ...

Becaup de salutation des suisse
Jean

J'ai pront ton string.xml ... la script a une noveau language ....
maintenant alleman , langleais , francais ;-)

linuxluemmel
2009-06-21, 18:25
Dear linuxluemmel,

T
EDIT : I did not see previously that it does not break CSS protection. So it is allowed in France ! In France, copying a digital media you own is allowed unless you have to break a protection (Do not ask if our politicians are stupids, but do ask why they are so corrupted instead!)
EDIT2 : Tried to rip an ISO and it works well but I had an error as the script wanted to store the file in a folder that did not exist. So it told me that it does not have write access for this directory... I change the path from "E:\ripfolder" to "E:\" and it works perfectly.



Edit1 : My script makes a 1:1 copy including the css protection ...
This is the reason my script is legal in several countrys ....

Could someone please post a list of countrys in witch my script is legal

Switzerland ... .-)
Germany .-(
France .-)
Spain ?
UK ?
Sweden ?


Remember :

In the blue-pill version you need to look inside the dvd a few secounds ....
After you did this ... the copy operation with dd can be made

Red-Pill : The css system is bypassed by the transcode process witch generates
a preview of the movie .... The copy is also protected by css.


My script will also include a function to transcode the dvd to other formats .....
and this functions does break the css system of dvd for sure ...


This is how I know in the most countrys illegal .... Inside switzerland it is allowed ...

Therefore I will show a disclaimer at startup that some of the functions inside my script are illegal
depending on witch country you would use my script.

This disclaimer comes in one of the next releases of my script.
About the text it contains we could communicate together with all the others from here ....


I and the core team of xbmc doesn't like troubles because this feature
is illegal in some countrys (germany) and legal in others (switzerland).

Even the start of my script inside germany would be illlegal ...
So I decide to stay in switzerland .... where i can continue to develop
this script wihtout fear ....


Edit 2: I changed the text to "Directory doesn't have write access or doesn't exist ...

Greetings from the country of Milk and Honey :-=)

Hans

linuxluemmel
2009-06-21, 21:26
OK I made the Release 0.4F (Blue-Pill)

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-windows-linux-0.4F.zip

- DD starts now in the background 1 minute after the user confirms
execution. This means the scipt ends .... and you can play around
inside your xbmc while the dd command is working

- It is not longer neccessary to add .iso for the filename to rip

- French Translation (Thanks to LoloMc˛) I hope the directory French is correct ....


- There was a corrected bug if the directory for rippings contains spaces ....
(Thanks to Fiasko)

I would say this Blue-Pill Release is useable for everyone ....
But remember ... my script is still a beta ....
and I do programming in python since 20 days ... be patient ... .-=

With the best greetings from switzerland

btw:
If you dont run the scheduler service in the background this script will
not work.

LoloMc˛
2009-06-21, 22:25
Si tu me demandes cette script est legal en france... Oui, parce que la protection de la dvd n'est pas enlever ...

Becaup de salutation des suisse
Jean

J'ai pront ta string.xml ... la script a une noveau language ....
maintenant alleman , langleais , francais ;-)

:grin:

I made a quick fast launch for your script on the PM3-HD homepage (Jezz-x would do that better but...)
Just download this archive (http://www.2shared.com/file/6395926/20e616c8/skin.html), unzip, overwrite files in your XBMC installation directory and enjoy ;)

Rgs

LoloMc˛
2009-06-21, 22:28
Edit1 : My script makes a 1:1 copy including the css protection ...
This is the reason my script is legal in several countrys ....

Could someone please post a list of countrys in witch my script is legal

Switzerland ... .-)
Germany .-(
France .-)
Spain ?
UK ?
Sweden ?



Spain : Legal (even file sharing has been judged as legal)
UK : Illegal (private copy does not exist)

linuxluemmel
2009-06-21, 22:54
Could you give me the permission to upload this skin.zip to my
Project-Homepage ?

I allways asking first .... _=)

Have a look at 0.4F and try it with your strings.xml


CU Hans

LoloMc˛
2009-06-22, 01:03
OK I made the Release 0.4F (Blue-Pill)
- DD starts now in the background 1 minute after the user confirms
execution. This means the scipt ends .... and you can play around
inside your xbmc while the dd command is working
And to be honest, it was quite confusing :sniffle:
IMHO, the next necessary step is to add a progressbar


- It is not longer neccessary to add .iso for the filename to rip
Yes, really better ;)
But could you (if possible) set the default name of the iso image as the name of the DVD instead of "change-me"?


- French Translation (Thanks to LoloMc˛) I hope the directory French is correct ....
In fact, no. :sad:
Name of the directory should be "French" BUT most important is that it seems you have opened "my original" strings.xml file and save it using the windows notepad (or wordpad). And the problem is that it is not working anymore. Take the original file I uploaded and copy/paste instead of yours. It will work.

If you want to edit xml files with MS windows, I highly recommend you to use the amazing notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm) (GPL software) which will save files in the Unix format without doing anything.


I would say this Blue-Pill Release is useable for everyone ....
As the previous script, 0.4F is quite simple to use ! But I still have the "create directory bug" which prevent the script to run...


But remember ... my script is still a beta ....
and I do programming in python since 20 days ... bet patient ... .-=
And I am really impatient to see what you'll do :D

LoloMc˛
2009-06-22, 01:12
Could you give me the permission to upload this skin.zip to my
Project-Homepage ?

I allways asking first .... _=)
Of course ! I made it to be used ! Even if I believe that icons could be nicer... But I am not a good designer, definitively



Have a look at 0.4F and try it with your strings.xml
Working actually. Regarding strings.xml, please see my previous post


Rgs

linuxluemmel
2009-06-22, 02:21
The other thing is the so called directory bug ...

could someone other also confirm this bug ?

On my own test windows xbmc 9.04 with windows xp sp3
/ german all works like expectet ....

Let use make a example :

Your rip-directory will be :
e:\dvdrip

inside the code should now stand ..... in the main function

dvd_dir = 'E:\\dvdrip'

Do you have the access write to E:\dvdrip
What filesystem do you use ? NTFS or FAT32
Is it local or a Network Share ?


In my case it works perfect.... On What Operating System you have this error ?
XP or Vista ?

LoloMc˛
2009-06-22, 10:15
The other thing is the so called directory bug ...

could someone other also confirm this bug ?


On my own test windows xbmc 9.04 with windows xp sp3
/ german all works like exptect ....
It's not my own computer. It's girlfriend's one and it's xbmc 9.04R1 (and R2) & XP SP3 (family edition) French.
I may have a try with my two windows XP SP3 (family edition) box also at home this evening (Not sure I will be at home this evening too :D)


Let use make a example :

Your rip-directory will be :
e:\dvdrip

inside the code should now stand ..... in the main function

dvd_dir = 'E:\\dvdrip'
Not sure : you want me to try to change something in your script ?
Which one, line 102 : dvd_dir = '/dvdrip'
or line 556 : dvd_dir = 'D:\\dvdrip'

Do you have the access write to E:\dvdrip
Yes of course, I have admin rights.

Please be more explicit :sniffle:

What filesystem do you use ? NTFS or FAT32
Is it local or a Network Share ?
It's a local NTFS drive (to rip DVD, FAT32 :shocked:)

I just had two suggestion but I forgot it ! :oo:

EDIT : My suggestion is refusing to rip on a FAT32 system fils as it is limited to 4 Gb files only (maybe dd comand will cut the ISO when reaching 4 Gb but I doubt...
EDIT : My other suggestion, as you said dd command could be dangerous if user enter : dd if=/dev/urandom of=/dev/hda
Could you add one or several tests that will refuse to do the rip if the user enter a bad command line ? Or maybe instead of having a text entry, just create three buttons with "\\?Device\CdRom0", "\\?Device\CdRom1" and maybe "\\?Device\CdRom2" ?

linuxluemmel
2009-06-22, 10:34
line 556 : dvd_dir = 'D:\\dvdrip'

If you would like to rip inside e:\dvd-rip\myrips for example

changle line 556 to dvd_dir = 'e:\\dvd-rip\\myripsdvdrip'

Warning : Yo have to write \\ for a single \ like above

The first sugesstion is allready in the Pipe .... Because the limit of 4GB for a single file is a problem
if you rip a dvd

On the linux side I have a command called volname withch returns the name of the dvd ....
I dont know a equivalent command for windows ....

here is the code

if (os_linux):
dvd_iso_local = get_disc_name(DVD_device,DVD_dir,dvd_iso)
else:
dvd_iso_local = dvd_iso


as you may see : On windows the name of the disk is not evaluatet


for a list of features to come :

http://code.google.com/p/luemmels-dvd-ripper/wiki/FeaturesToCome

Gamester17
2009-06-24, 18:28
@linuxluemmel, a tip for you is that you should post all 'release/update' news in your other thread => http://xbmc.org/forum/showthread.php?t=52615

...and then keep this thread in the development forum for development and developers only :;):

linuxluemmel
2009-07-02, 20:37
I would like for the release 0.5a to produce a nice Icon ....
On my Project-site I have a Icon (png) how under Linux coult this
convertet to be a xbmc script icon ?

Regards
Hans

blittan
2009-07-03, 01:13
rename it default.tbn and throw it into the scriptfolder

linuxluemmel
2009-07-03, 13:12
thanks ;-) But what is the reason i could not leave the extension png ?

CU Hans

spiff
2009-07-03, 13:44
because the code only looks for default.tbn

linuxluemmel
2009-07-05, 23:17
I have some problems with burning back allready ripped disks to
dvd.

Does anynone allready tryd to burn back a iso-rip to dvd ?

Regards
hans

newb2linux
2009-07-09, 09:00
Im unable to locate the dvdimport.log to figure out why its not working. The instuctions from the read me a re a littel vauge. Im assuming im missing something because im running XBMC-live ? ? are you able to shed some light ?

linuxluemmel
2009-07-09, 11:39
Im unable to locate the dvdimport.log to figure out why its not working. The instuctions from the read me a re a littel vauge. Im assuming im missing something because im running XBMC-live ? ? are you able to shed some light ?

Witch Version of the code do you use ?
Red or Blue ?

As I do remmember after 0.4A i removed the log file because all run fine ...
Do you installed the live version to hd ?
regards
Hans

newb2linux
2009-07-09, 21:15
Red-Pill
Live version, and is instaled to HDD.

Sorry shoud have included that. I just finished a fresh of XBMCLIVE install and I wanted to start backing up my DVD libraryto my HDD. (Canada)

Seemed like I got it working working and installed Independance Day to my HDD. I went to backup a second ISO and when I checked the directory I copied the last ISO in it wasnt there. Only a preview MPG file. I rebooted my computer it didn't boot to XBMC BLACK SCREEN.

I switched screens and tried to startx:
Here is the error MSG Im getting.

http://pastebin.com/m12f1a5c5

If I run " sudo rm /tmp/.X0-lock"

I get this MSG trying to run startx.

http://pastebin.com/m3377d8d1

Googling the errors right now but not really sure what cause it yet.
Please help. :)

bielsl2009
2009-08-02, 07:50
Translation in Portuguese for your app.

Please take it.

http://files.getdropbox.com/u/1650268/dvd-blue-Portuguese%20%28Brazil%29.zip (http://files.getdropbox.com/u/1650268/dvd-blue-Portuguese%20%28Brazil%29.zip)

linuxluemmel
2009-08-02, 20:43
Translation in Portuguese for your app.

Please take it.

http://files.getdropbox.com/u/1650268/dvd-blue-Portuguese%20%28Brazil%29.zip (http://files.getdropbox.com/u/1650268/dvd-blue-Portuguese%20%28Brazil%29.zip)


Allready done ...

I uploaded the language file to use ... on the project url

Thanks .
Hans

linuxluemmel
2009-08-10, 15:16
Hello to all user of my script ....

The red-pill version is imho allmost finished to call it rc-ready
The blue-pill will also be ported soon.

There are 2 things I would like to know ..

1.) What do you think about lightscribe-dvd 's

I guess the integration would not be a very hard part.
In a input mask fill in the name of the dvd and scrap the media info
for the lightscibe dvd to print.


2.) Integration to transocde Mythtv recording to isos

One of the main reason I made this script was mythtv.
Looking Live-TV and planing the recordings can be done with
Mythbox. What I realy do missing is burning recorded shows ....

This is the killer-application for mythtv users of xbmc.

My scipt can do transcoding and burning iso's allready ...

In the transcode-Section I would integrate a menu-point

-recording from mythtv

In the moment (ripped iso and dvd-device)

I'm open to discuss this feature ...


Regards
Hans

megacrypto
2009-08-19, 21:12
I just downlaoded the dvd-red-linux-0.5G.tar file, and unfortunatly im all confused on how exactly this is setup? Im running XBMC on Ubuntu 9.04

Thanks for your help

linuxluemmel
2009-08-21, 00:10
I just downlaoded the dvd-red-linux-0.5G.tar file, and unfortunatly im all confused on how exactly this is setup? Im running XBMC on Ubuntu 9.04

Thanks for your help

Inside the settings you have to put in your values for your computer

* dvd-device
* directory for transcode and ripping
* ssh username and hostname
* languages for default transcoding

The readme is here :

http://code.google.com/p/luemmels-dvd-ripper/wiki/Redpill05G

Regards
Hans

linuxluemmel
2009-08-24, 00:51
Hello Scripters ....

If found this ...

http://www.xbmc.org/wiki/?title=HOW-TO_write_Python_Scripts#Download_Files_with_Progre ssbar


I would like to implement a progress bar for a ripping process ....
Has anyone a code-snippet to display the progress of a long duration copy ?
(Not from a url .... it is a local copy from dvd to rip-directory )

I have the filename to monitor ....
I have the final-size it should have on the disk
Thanks
Hans

Caligo
2009-09-05, 22:47
http://rapidshare.com/files/276101477/strings_no.xml.html

Interesting project, so i did a translation into norwegian. I havent tried the script though.

megacrypto
2009-09-21, 03:09
i got it installed on on Ubuntu 9.04 (2.6.27.10) and XBMC svn 22954 and i did a rip and a transcode, but my problem is now that i can not do another rip. when i try to start another rip it tells me "ripping job is active" (although i have tried restarting the machine and still same msg) and when i select "kill active rip-job...." it tries it gives an error saying "paython script failed: spcial://home/scripts/My Scripts/dvd-red/default.py"

im guessing i have to change that path somewhere to the correct one? or what?

Edit: found it... there were 3 files in my home directory that i deleted manually and then it worked. Im going to do another rip and see if these files will remain after the rip is completed or will be deleted automatically ..

linuxluemmel
2009-09-21, 10:01
i got it installed on on Ubuntu 9.04 (2.6.27.10) and XBMC svn 22954 and i did a rip and a transcode, but my problem is now that i can not do another rip. when i try to start another rip it tells me "ripping job is active" (although i have tried restarting the machine and still same msg) and when i select "kill active rip-job...." it tries it gives an error saying "paython script failed: spcial://home/scripts/My Scripts/dvd-red/default.py"

im guessing i have to change that path somewhere to the correct one? or what?

Edit: found it... there were 3 files in my home directory that i deleted manually and then it worked. Im going to do another rip and see if these files will remain after the rip is completed or will be deleted automatically ..

Yes this was a bug it is allready fixed with 0.5H
This is a part from changelog 0.5H

- Logical Error removed .... If the dd script was killed
by hand or any other reason was not finished properly the
following files inside the home directory remains and
therefore the rip-menu comes not up longer to the screen.

RIPPING_STARTET
RIPPING_FILE
RIPPING_PREVIEW
RIPPING_SIZE

If the dd process is not running and the file are inside
the home directory ... the files are removed.



RIPPING_SIZE is new since 0.5H (progress.bar)
Release 0.5H is soon ready ....

Thanks for the feedback and happy ripping
Regards
Hans

mamexp
2009-09-28, 10:01
Please correct me if i'm wrong but is this script only for ripping (compressed ) a DVD ?

Can it do a full/exact copy of a DVD9?

Even better if it can prompt me at which title i want to do an exact copy. You know, so i can remove all the advertise junk at the beginning of the movie

I have lots of good DVD9 movies that i wish to keep an exact backup for maintaining the PQ.

Thanks

ps. Currently i do this by command. I make a shell script of :
$ cd movies
$ vobcopy -v -m /media/cdrom0
$ cd <MOVIE Folder>
$ mkisofs -v -dvd-video -o ../MOVIE_Name.iso .

linuxluemmel
2009-09-30, 22:43
Please correct me if i'm wrong but is this script only for ripping (compressed ) a DVD ?

Can it do a full/exact copy of a DVD9?



Yes it can ;-)

flxfxp
2009-10-03, 18:39
When can I expect 0.5H?
I'd like to integrate it in XBMScript :)

linuxluemmel
2009-10-04, 12:23
When can I expect 0.5H?
I'd like to integrate it in XBMScript :)

it is allmost finished ... I have to integrate the cancel and the progress-bar to the
network part over netcat ....
I had a few problems with signalig back progress and send forward the cancel
button to the master and slave.

In this week I have 2 free-days ... expect the release on the next saturday
Best regards
Hans

flxfxp
2009-10-05, 12:25
Sounds great! By the way, when I want to rip an iso it does find the dvd and parses the name, but when i execute ripp it says: Error by execution of the dd command.Log-file (dvdimport.log). I can't find that logfile anywhere, I've followed your steps in the red pill readme. Executing "ssh xbmc@localhost ./dvdrip.sh /dev/scd0 /data/Videos change-me.iso
" gives blank output.

Any ideas?

linuxluemmel
2009-10-05, 13:49
Sounds great! By the way, when I want to rip an iso it does find the dvd and parses the name, but when i execute ripp it says: Error by execution of the dd command.Log-file (dvdimport.log). I can't find that logfile anywhere, I've followed your steps in the red pill readme. Executing "ssh xbmc@localhost ./dvdrip.sh /dev/scd0 /data/Videos change-me.iso
" gives blank output.

Any ideas?

Could you start it manually ? not over ssh ...

do as user :

cd
./dvdrip.sh /dev/scd0 /data/Videos change-me.iso

do you have any output ?

Do you have write-access to /data/Videos ?
Could you send back the messages from the script ?



Regards
Hans

Broads
2009-10-05, 15:47
HI I have just tried your plugin but have but got the following script error.

path to ssh-scripts : C:\Users\Mark\AppData\Roaming\XBMC\plugins\program s\dvd-ripper/ssh/
13:39:09 T:5428 M:683794432 NOTICE: pre-9.10 r23120
13:39:09 T:5428 M:683794432 NOTICE: Traceback (most recent call last):
13:39:09 T:5428 M:683794432 NOTICE: File "C:\Users\Mark\AppData\Roaming\XBMC\plugins\program s\dvd-ripper\default.py", line 1875, in ?
13:39:09 T:5428 M:684085248 NOTICE: system = os.uname()
13:39:09 T:5428 M:684085248 NOTICE: AttributeError
13:39:09 T:5428 M:684085248 NOTICE: :
13:39:09 T:5428 M:684085248 NOTICE: 'module' object has no attribute 'uname'
13:39:09 T:5428 M:684085248 ERROR: Scriptresult: Error
13:39:11 T:3852 M:686710784 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://programs/dvd-ripper/
13:39:11 T:3852 M:686702592 ERROR: CGUIMediaWindow::GetDirectory(plugin://programs/dvd-ripper/) failed

I'm running DX build with vista 64 bit os if that helps narrow it down?

Thanks

linuxluemmel
2009-10-05, 20:14
HI I have just tried your plugin but have but got the following script error.

path to ssh-scripts : C:\Users\Mark\AppData\Roaming\XBMC\plugins\program s\dvd-ripper/ssh/
13:39:09 T:5428 M:683794432 NOTICE: pre-9.10 r23120
13:39:09 T:5428 M:683794432 NOTICE: Traceback (most recent call last):
13:39:09 T:5428 M:683794432 NOTICE: File "C:\Users\Mark\AppData\Roaming\XBMC\plugins\program s\dvd-ripper\default.py", line 1875, in ?
13:39:09 T:5428 M:684085248 NOTICE: system = os.uname()
13:39:09 T:5428 M:684085248 NOTICE: AttributeError
13:39:09 T:5428 M:684085248 NOTICE: :
13:39:09 T:5428 M:684085248 NOTICE: 'module' object has no attribute 'uname'
13:39:09 T:5428 M:684085248 ERROR: Scriptresult: Error
13:39:11 T:3852 M:686710784 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://programs/dvd-ripper/
13:39:11 T:3852 M:686702592 ERROR: CGUIMediaWindow::GetDirectory(plugin://programs/dvd-ripper/) failed

I'm running DX build with vista 64 bit os if that helps narrow it down?

Thanks


My script is not a plugin .... it is a script ....


pre-9.10 r23120 ?
I only do develop the script with stable version 9.04.1 (32 Bit) but from the
above message I would say that with the function os.uname is something wrong ....

is there anyone using my script on a 64 bit os ?
I could not test this ...
Maybe the python function os.uname is not working properly on this build ?

regards from switzerland
Hans

havde
2009-10-06, 00:27
Has anyone tried this script with W7? I can't get it to work, the cmd prompt appears and adds an event to the scheduler with argument: if=\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs=2048

which to me looks correct, and the dvd_dir is according to the list which I get via DD --list

Any ideas anyone?

linuxluemmel
2009-10-06, 09:14
Has anyone tried this script with W7? I can't get it to work, the cmd prompt appears and adds an event to the scheduler with argument: if=\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs=2048

which to me looks correct, and the dvd_dir is according to the list which I get via DD --list

Any ideas anyone?

On windows xp the entry is :

c:\windows\system32\dd.exe if=\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs=2048

Regards Hans

havde
2009-10-06, 12:28
On windows xp the entry is :

c:\windows\system32\dd.exe if=\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs=2048

Regards Hans

That's the same entry I have in W7, but it never starts. So it adds the entry to the scheduler but never starts...and I don't understand why not.
My steps:
1. Download, extract and copy dd.exe to c:\windows\system32\
2. Download, extract and copy script (bluepill) to xbmc scripts folder
3. Insert DVD, start watching inside XBMC.
4. While DVD is playing, start script dvd_blue and choose rip to iso
5. Choose device, rip location, file name, and confirm run script
6. A command prompt appears and says "A new event has been added with IDxx" - command prompt closes.
7. Nothing else happens....

Appreciate any help... :)
Br
havde

linuxluemmel
2009-10-07, 21:36
That's the same entry I have in W7, but it never starts. So it adds the entry to the scheduler but never starts...and I don't understand why not.
My steps:
1. Download, extract and copy dd.exe to c:\windows\system32\
2. Download, extract and copy script (bluepill) to xbmc scripts folder
3. Insert DVD, start watching inside XBMC.
4. While DVD is playing, start script dvd_blue and choose rip to iso
5. Choose device, rip location, file name, and confirm run script
6. A command prompt appears and says "A new event has been added with IDxx" - command prompt closes.
7. Nothing else happens....

Appreciate any help... :)
Br
havde

Did you install dd for 32 bit systems or 64 ?
What kind of Windows 7 do you running ?
32 or 64 bits ?

Regards
hans

havde
2009-10-07, 22:59
Did you install dd for 32 bit systems or 64 ?
What kind of Windows 7 do you running ?
32 or 64 bits ?

Regards
hans

32 bit DD (i.e. http://www.chrysocome.net/downloads/dd-0.5.zip) and 32 bit Win7.

If I run DD.exe I get a command prompt where I can't do anything.
But running cmd.exe and then command "dd if=\\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs2048" I get an error message: "Error native opening input file: 0 The operation completed successfully"

havde
2009-10-07, 23:42
32 bit DD (i.e. http://www.chrysocome.net/downloads/dd-0.5.zip) and 32 bit Win7.

If I run DD.exe I get a command prompt where I can't do anything.
But running cmd.exe and then command "dd if=\\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs2048" I get an error message: "Error native opening input file: 0 The operation completed successfully"

After a lot of reboots it suddenly seems to work, don't know why though...but thanks for trying to help!

martinvecchio
2009-10-13, 19:05
i have ubuntu 9.04, kernel: 2.6.28-15-generic
dvd-red 0.5H,

command line everything is perfect:
i login to the ssh:
#ssh umc@localhost
(note my login is not user@localhost, but umc@localhost)
and then:

# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

(i have to use the full path, using only "./dvdrip change-me.iso" does not do the trick for me)....so far it works great !

if i test:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2mpeg2.sh /dev/sr0 /dvdrip ausgabe 1 1

also works like a charm.,

if i do:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2iso.sh /dev/sr0 /dvdrip change-me.iso 1 1
"nothing happens !!! "

if i do it from inside XBMC interface, in the menus: Scripts->My Scripts->dvd-red
it starts fine but then i get:...
"Error by execution of the dd command"

any clue ?

linuxluemmel
2009-10-13, 22:47
i have ubuntu 9.04, kernel: 2.6.28-15-generic
dvd-red 0.5H,

command line everything is perfect:
i login to the ssh:
#ssh umc@localhost
(note my login is not user@localhost, but umc@localhost)
and then:

# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

(i have to use the full path, using only "./dvdrip change-me.iso" does not do the trick for me)....so far it works great !

if i test:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2mpeg2.sh /dev/sr0 /dvdrip ausgabe 1 1

also works like a charm.,

if i do:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2iso.sh /dev/sr0 /dvdrip change-me.iso 1 1
"nothing happens !!! "

if i do it from inside XBMC interface, in the menus: Scripts->My Scripts->dvd-red
it starts fine but then i get:...
"Error by execution of the dd command"

any clue ?

I would go into the directory in witch the shell-scripts reside ....
cd /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/
chmod +x *sh
and make a other try ...
Did you have to put in password by ssh-login ????????????????????
Did you have a look at the ssh-log file inside ~/dvdripper ??
Regards
Hans

BTW : Did you change the ssh-commandline inside settings ?
the real test would be
ssh umc@localhost /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

martinvecchio
2009-10-14, 02:14
the command line: (without pass, i just drop it in a terminal...)
ssh umc@localhost /home/umc/.xbmc/scripts/My\\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

But nothing happens.... no "change-me.iso" is written...
no error output....

and here is
#################################
umc@umc-desktop:~/dvdripper$ more ssh.log
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
##############################


if i execute from the terminal (no ssh) with user "umc" , i have exactly same response than in the case of ssh:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background

and nothing happens, but if execute (no ssh) from the scripts directory, the "dd" actually starts and it does create the file "change-me.iso" , and runs great ...:
#cd /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh
#./dvdrip.sh /dev/sr0 /dvdrip change-me.iso
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background

path problem / suggestions ?

linuxluemmel
2009-10-14, 02:19
the command line works perfect: (without pass, i just drop it in a terminal...)
ssh umc@localhost /home/umc/.xbmc/scripts/My\\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

But nothing happens.... no "change-me.iso" is written...
no error output....

and here is
#################################
umc@umc-desktop:~/dvdripper$ more ssh.log
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
##############################

any suggestions ?

What are the permissions on /dvdrip ?
is it a symlink ? what fs do you use ?
Inside the tools section it is possible to check if all software is installed ....
Could you start this menu-point ? is something missing ?

Regards
Hans

martinvecchio
2009-10-14, 02:40
i have found my problem, is a path problem:
inside "dvdrip.sh" script, there is the line:
"nohup ./dvddd.sh $1 $2 $3 >/dev/null 2>&1 &"
if the call is not made from inside the directory "...../dvd-red/ssh/" the dvdrip.sh script is never executed.

im the only one suffering it ?
should i add "..../dvd-red/ssh" to the path ?

please advice.

linuxluemmel
2009-10-14, 11:40
i have found my problem, is a path problem:
inside "dvdrip.sh" script, there is the line:
"nohup ./dvddd.sh $1 $2 $3 >/dev/null 2>&1 &"
if the call is not made from inside the directory "...../dvd-red/ssh/" the dvdrip.sh script is never executed.

im the only one suffering it ?
should i add "..../dvd-red/ssh" to the path ?

please advice.

I wonna test this as soon I have free time ....
Maybe it was change from home dir to script dir ....
I will inform as soon I have more info ..
Regards
Hans

linuxluemmel
2009-10-14, 13:30
I wonna test this as soon I have free time ....
Maybe it was change from home dir to script dir ....
I will inform as soon I have more info ..
Regards
Hans


If you are using a SVN version ... my script is not working according to
Tracker system .....

http://xbmc.org/trac/ticket/7291

As a uggly workaround do change the PATH to include the ssh-directory
and you may have to edit the default.py file ....


Regards Hans

martinvecchio
2009-10-16, 05:39
i see dvdrip.sh calls to dvdpreview.sh (but i do not see this last one in the ssh directory), am i wrong ?

linuxluemmel
2009-10-16, 14:04
i see dvdrip.sh calls to dvdpreview.sh (but i do not see this last one in the ssh directory), am i wrong ?

Ok in the moment I can not download the version 0.5H
I wonna test this evening if dvdpreview.sh is missing ....

But for now ... here is the script ....


#!/bin/bash
################################################## #########
# scriptname : dvdpreview.sh #
################################################## #########
# author : hans weber #
# #
# parameters : #
# #
# $1 device #
# $2 directory for rip #
# #
# description : #
# generates a little preview of a dvd #
################################################## #########

# First generate a video and audio file of a few secounds

cd $2
transcode -i $1 -c 1-400 -o$2/preview --export_prof vcd > ~/dvdripper/preview-output.log 2> ~/dvdripper/preview-error.log

# After this we mux them to a mpeg

echo multiplex video and audio stream into mpeg1

mplex -f 0 -V -o preview.mpg preview.m1v preview.mpa >> ~/dvdripper/preview-output.log 2>> ~/dvdripper/preview-error.log

# delete audio and video form preview generating

rm preview.m1v
rm preview.mpa

exit


Save it as dvdpreview.sh inside ssh-directory and make chmod +x dvdpreview.sh

martinvecchio
2009-10-16, 14:18
Thank you ( i have extracted from the 0.5G), the comment was just to let you know, about.

linuxluemmel
2009-10-16, 14:50
Thank you ( i have extracted from the 0.5G), the comment was just to let you know, about.

Ok if this file dvdpreview.sh is missing ... mea culpa ... mea culpa ...

Sorry my fault ....... I do repack 0.5H again with the file ....

I found a also a other bug ... the old dvdrip.sh was shipped ...

be patient ....

I update the release in a few hours ...

Regards
Hans

linuxluemmel
2009-10-16, 18:06
http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5Ha-corrected.tar

AuXBoX
2009-10-18, 02:53
is there an easy way to get all the dependencies needed for this?
I can't for the life of me get this going.

linuxluemmel
2009-10-18, 11:55
is there an easy way to get all the dependencies needed for this?
I can't for the life of me get this going.


The author of this script will integrate the dvd-ripper into one of the next releases.

http://xbmc.org/forum/showthread.php?t=57764

With this script the installation is very easy ...

Regards
Hans