Kodi Community Forum

Full Version: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Is there somewhere i can look at the command lines for makemkvcon
The command makemkvcon itself is not very usefull.
Try the makekmkv homepage / forum or at least the source-code it nothing
helps...
Regards Hans
Quote:I installed your swiss army knife without an error, but can't find it anywhere. Not in the addons, not in the activate addons, it just installed and went away without an error. And I get this do you want to upgrade the installed addons popping up all over the place (So much for a set top feel). Reminds me of Doze and IE7-8 with all their popup banners.

Note to self: unzip SAF in addons directory, not in user directory.

Ripping BD's with out a htich. Once I unzipped in the right directory everything just worked. Great job Hans on puting this together. A far cry from the beginning of the red pill.

Good job, now the only thing I miss is the messages of what it is doing prior to the rip has started. I like sat here watching the dvd drive light. Sometimes there would be a long pause between accessing the dvd, I thought the darn thing stopped and kept checking the logs, took about 5 minutes to start. Again, great job.

One other thing, when it is ripping the BD, can I exit and do other things? The red pill ran the sd rip in the background and it freed up use of the htpc.

Answer to my own question: Yes, SAF does run in background for both BluRay and SD material. Great Job! Heck I even CRAHSED XBMC and had to restart it from X and it continued to run unaffected. How about that?
FYI, I just purchased Grown_Ups and tried sd backup. I have not run into this problem before but a window opened and stated that this disk has very good copy protection. The window closed and the working pop-up continued to run.

I could not break out of the procedure and had to kill xbmc. It just sat there in a loop and did not kill the process. Attached is the ssh log.

Code:
cat output
TERM environment variable not set.

----------------------------------------------------------------------------
script    : state.sh
version   : 0.6.16 [swiss-army-knife addon]
copyright : (C) <2010>  <[email protected]>
changed to /home/XBMC/.xbmc/addons/script.video.swiss.army.knife/shell-linux
----------------------------------------------------------------------------

INFO [media:[DVD-ROM]]


[b]This DVD seeems to be very good copy-protected.[/b]It is a guess that transcoding and dd-copy will not work on this
DVD.It is recommandet to use resque-copy with this disk.
Even with a rescue-copy it is not certain that this disk can be
duplicated.

----------------------- script rc=4 -----------------------------
-----------------------------------------------------------------
TERM environment variable not set.

----------------------------------------------------------------------------
script    : dvd-chapter.sh
version   : 0.6.16 [swiss-army-knife addon]
copyright : (C) <2010>  <[email protected]>
changed to /home/XBMC/.xbmc/addons/script.video.swiss.army.knife/shell-linux
----------------------------------------------------------------------------

INFO track-index:[00] length:[01:42:17.220] chapters:[28]
INFO track-index:[01] length:[00:04:09.286] chapters:[02]
INFO track-index:[02] length:[00:03:51.233] chapters:[02]
INFO track-index:[03] length:[00:07:09.186] chapters:[02]
INFO track-index:[04] length:[00:00:00.110] chapters:[01]
INFO track-index:[05] length:[00:00:00.110] chapters:[01]
INFO track-index:[06] length:[00:00:00.110] chapters:[01]
INFO track-index:[07] length:[00:00:00.110] chapters:[01]
INFO track-index:[08] length:[00:00:00.110] chapters:[01]
INFO track-index:[09] length:[00:00:00.110] chapters:[01]
INFO track-index:[10] length:[00:00:00.110] chapters:[01]
INFO track-index:[11] length:[00:00:00.176] chapters:[01]
INFO track-index:[12] length:[00:00:00.176] chapters:[01]
INFO track-index:[13] length:[00:00:00.110] chapters:[01]
INFO track-index:[14] length:[00:00:00.110] chapters:[01]
INFO track-index:[15] length:[00:00:00.110] chapters:[01]
INFO track-index:[16] length:[00:00:00.110] chapters:[01]
INFO track-index:[17] length:[00:00:00.110] chapters:[01]
INFO track-index:[18] length:[00:00:00.110] chapters:[01]
INFO track-index:[19] length:[00:00:00.110] chapters:[01]
INFO track-index:[20] length:[00:00:00.110] chapters:[01]
INFO track-index:[21] length:[00:00:00.110] chapters:[01]
INFO track-index:[22] length:[00:00:00.110] chapters:[01]
INFO track-index:[23] length:[00:00:00.110] chapters:[01]
INFO track-index:[24] length:[00:00:00.110] chapters:[01]
INFO track-index:[25] length:[00:00:00.110] chapters:[01]
INFO track-index:[26] length:[00:00:00.110] chapters:[01]
INFO track-index:[27] length:[00:00:00.110] chapters:[01]
INFO track-index:[28] length:[00:00:00.110] chapters:[01]
INFO track-index:[29] length:[00:00:00.110] chapters:[01]
INFO track-index:[30] length:[00:00:00.110] chapters:[01]
INFO track-index:[31] length:[00:00:00.110] chapters:[01]
INFO track-index:[32] length:[00:00:00.110] chapters:[01]
INFO track-index:[33] length:[00:00:00.110] chapters:[01]
INFO track-index:[34] length:[00:00:00.110] chapters:[01]
INFO track-index:[35] length:[00:00:00.110] chapters:[01]
INFO track-index:[36] length:[00:00:00.110] chapters:[01]
INFO track-index:[37] length:[00:00:00.110] chapters:[01]
INFO track-index:[38] length:[00:00:00.110] chapters:[01]
INFO track-index:[39] length:[00:00:00.110] chapters:[01]
INFO track-index:[40] length:[00:00:00.110] chapters:[01]
INFO track-index:[41] length:[00:00:00.110] chapters:[01]
INFO track-index:[42] length:[00:00:00.110] chapters:[01]
INFO track-index:[43] length:[00:00:00.110] chapters:[01]
INFO track-index:[44] length:[00:00:00.110] chapters:[01]
INFO track-index:[45] length:[00:00:00.110] chapters:[01]
INFO track-index:[46] length:[00:00:00.110] chapters:[01]
INFO track-index:[47] length:[00:13:08.153] chapters:[07]
INFO track-index:[48] length:[00:00:00.110] chapters:[01]
INFO track-index:[49] length:[00:02:33.143] chapters:[02]
INFO track-index:[50] length:[00:02:27.210] chapters:[02]
INFO track-index:[51] length:[00:02:37.243] chapters:[02]
INFO track-index:[52] length:[00:01:39.043] chapters:[02]
INFO track-index:[53] length:[00:02:32.110] chapters:[02]
INFO track-index:[54] length:[00:02:39.020] chapters:[02]
INFO track-index:[55] length:[00:02:31.210] chapters:[02]
INFO track-index:[56] length:[00:02:27.076] chapters:[02]
INFO track-index:[57] length:[00:00:00.176] chapters:[01]
INFO track-index:[58] length:[00:02:06.000] chapters:[02]
INFO track-index:[59] length:[00:02:33.033] chapters:[02]
INFO track-index:[60] length:[00:01:03.110] chapters:[02]
INFO track-index:[61] length:[00:02:33.043] chapters:[02]
INFO track-index:[62] length:[00:01:41.053] chapters:[02]
INFO track-index:[63] length:[00:02:28.133] chapters:[02]
INFO track-index:[64] length:[00:00:00.110] chapters:[01]
INFO track-index:[65] length:[00:00:01.300] chapters:[03]
INFO track-index:[66] length:[00:00:00.110] chapters:[01]
INFO track-index:[67] length:[00:00:00.110] chapters:[01]
INFO track-index:[68] length:[00:00:00.110] chapters:[01]
INFO track-index:[69] length:[00:00:00.110] chapters:[01]
INFO track-index:[70] length:[00:00:00.110] chapters:[01]
INFO track-index:[71] length:[00:00:00.110] chapters:[01]
INFO track-index:[72] length:[00:00:00.110] chapters:[01]
INFO track-index:[73] length:[00:00:00.110] chapters:[01]
INFO track-index:[74] length:[00:00:00.110] chapters:[01]
INFO track-index:[75] length:[00:00:01.300] chapters:[03]
INFO track-index:[76] length:[00:01:26.166] chapters:[02]
INFO track-index:[77] length:[00:00:00.110] chapters:[01]
INFO track-index:[78] length:[00:00:00.110] chapters:[01]
INFO track-index:[79] length:[00:00:00.110] chapters:[01]
INFO track-index:[80] length:[00:00:00.110] chapters:[01]
INFO track-index:[81] length:[00:00:00.110] chapters:[01]
INFO track-index:[82] length:[00:00:00.110] chapters:[01]
INFO track-index:[83] length:[00:00:00.110] chapters:[01]
INFO track-index:[84] length:[00:00:00.110] chapters:[01]
INFO track-index:[85] length:[00:00:00.110] chapters:[01]
INFO track-index:[86] length:[00:00:00.110] chapters:[01]
INFO track-index:[87] length:[00:00:05.110] chapters:[02]
INFO track-index:[88] length:[00:00:00.110] chapters:[05]
INFO track-index:[89] length:[00:00:01.000] chapters:[09]
INFO track-index:[90] length:[00:00:00.110] chapters:[01]
INFO track-index:[91] length:[00:00:05.000] chapters:[01]
INFO track-index:[92] length:[00:36:30.000] chapters:[01]
INFO track-index:[93] length:[00:55:00.000] chapters:[01]
INFO track-index:[94] length:[00:00:00.176] chapters:[39]
INFO track-index:[95] length:[01:17:50.000] chapters:[01]
INFO track-index:[96] length:[02:12:30.000] chapters:[01]


INFO volume-name of the current inserted dvd is [GROWNUPS]
INFO automatic selected track from inserted dvd [97][line-index]
INFO default language 1 [en]
INFO default lang-1 : index=0

----------------------- script rc=0 -----------------------------
In thise case you should try to run rescue copy from expert-mode.
It seems only rescue copy can copy this kind of dvd.
I had a few brand new dvd's from sony (Dawn Brown Movies) that have multiple
file-system errrors that prevent copy with allmost any tool.
Firstly - great work! This is an essential part of XBMC in my opinion. I am having trouble getting it to work correctly...

I have installed the addon (0.6.15, Dharma Live Beta 4) and run the setup.sh script successfully.
I can also rip DVDs using the shell-linux scripts such as ./dvd-iso.sh.
I have configured the settings with my username (not xbmc) and the test SSH works correctly when called from the 'expert menu'

However, when I try and run any of the commands through the GUI such as 'Rip DVD to ISO (confirmed)' the 'working' notification pops up for about 2 seconds and then nothing happens - no error message, and no ripping (the DVD drive does not spin up)

I can't see anything in the xbmc.log file which explains a failure, although this line (right near the bottom) may be a clue:

Command to run Confusedsh iscient /home/iscient/.xbmc/addons/script.video.swiss.army.knife/shell-linux/dvd0.sh /dev/sr0 > /dev/null 2>&1 &


There is no log file in the /home/<username>/swiss.army.knife/ssh (alhough the user does have write access to that folder.

Any help would be really appreciated!
Rich
Go into the various folders within the addons (SAF) direcotry and check file permissions or do just a chmod a+x * in every folder. Make sure that all scripts are set with at least r_x permissions. Try again.
linuxluemmel Wrote:In thise case you should try to run rescue copy from expert-mode.
It seems only rescue copy can copy this kind of dvd.
I had a few brand new dvd's from sony (Dawn Brown Movies) that have multiple
file-system errrors that prevent copy with allmost any tool.

OK, I will try that now, but is their a way that once the error about the "DVD seeems to be very good copy-protected" SAF will kill the processes instead of being locked up. Heck, my wife and kids would be lost (alt + F2, ps-ae and kill xinit process id and type in startx, yeah right) and it is configured as a setop box with no keyboard, I ssh into it from my laptop. I catch grief over the dang remote buttons not being labeled properly.

Thanks, and program works great. Did I say I love the SAF process working in the background so I can listen to music or watch another movie or wahtever I want while backing up content. (BD or SD) That is the icing on the cake and thanks for thinking that through from the beginning. I can even exit xbmc and install new video drivers and it continues to run! Big Grin
All permissions in the addons folder and the /home/<username>/swiss.army.knife folder are set to rwxrwxrwx. I've tried running the setup.sh script again, but still the same problem.

Cheers, Rich
You did unzip the SAF file in the .xbmc/addons directory?

Per your post it does look like it. If you go into the terminal, can you execute the ssh command?
ssh user@localhost without it asking for a password.

I don't think the script actually checks or gives an error if ssh asks for a password. I had to go into sudo nano /etc/ssh/sshd_config file and manually edit the no password settings.
Hello ;-)

There is no need to configure the file /etc/ssh/sshd_config.
The setup.sh create all keys for the ssh-communication.

1.) You can rip a dvd and exit the script ... The script can detect a running script on startup.

2.) Inside expert-mode is a ssh-test command.

3.) If you install the addon over the luxeria-repository , the installation will be made inside the correct directory.
speed32219 Wrote:Thanks, and program works great. Did I say I love the SAF process working in the background so I can listen to music or watch another movie or wahtever I want while backing up content. (BD or SD) That is the icing on the cake and thanks for thinking that through from the beginning. I can even exit xbmc and install new video drivers and it continues to run! Big Grin

Thanks for the roses ;-)

Yes ... I see the problem with the copy-protection ...
I allready work on a solution for that topic.
The next release 0.6.16 do implement a working thread that monitor
the main-process of transcoding or ripping.
In the case of a error the shell-script will be terminated and all lock-files
will be removed.

It is only a guess but we need more samples to detect copy protected
dvd's.

Regards
Hans
running the command ssh <username>@localhost works and does not prompt me for a password. (running it with a false username does ask for password)

The addon was installed from the luxeria-repository, and the setup.sh scrip was run (seemingly sucessfully). Is there anything else I may need to check to find out what is stopping this script working?

The install is actually the XBMCFreak live Dharama beta 4 installation (not the vanilla 'live' install)

Many thanks, Rich
Is it possible to copy the data from this directory to a pastebin ?
swiss.army.knife/ssh

This directory is made by setup.sh inside the home directory of the user who run xbmc.
Regards Hans
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44