Page 1 of 1

SRR (ReScene) Integration (made patch)

Posted: October 28th, 2009, 7:15 pm
by Shady
SRR has reached 1.0 status by it's creator
http://rescene.info/

Basicly the gist of this program is that rar files that use store compression can be recreated with a special small file called ".srr"
All you need to do is let the program process the rar's (or an sfv file) and it will create a .srr file which can later be used for reconstruction.

The implications are awesome, you can extract and delete the original rars and if you want you can recreate them with this <10kb file!
Im sure a lot of 'collectors' or 'archivers' would appreciate a feature like this.

Anyway I know a little programming and I made a patch that patches newsunpack.py and postproces.py.
I haven't made any options or anything in the templates so you will have to change srr_command = "/home/storage/srr.exe" to where the srr binary is.

Linux needs mono to launch srr.exe but otherwise works perfectly ;)

Is this usable in any way shypike? (I kept the patch very small and very ugly)

Greetings

Re: SRR (ReScene) Integration (made patch)

Posted: October 29th, 2009, 4:23 am
by shypike
It's not very likely that we will build this in.
(Added complexity, very small audience etc., smells like support of uploading).

We are planning on enabling more scripting hooks in the future,
similar to the current post-processing script.
Like: pre-queue, pre-verify/repair, pre-unpack.
You could put this in a pre-unpack script.

Re: SRR (ReScene) Integration (made patch)

Posted: October 29th, 2009, 6:20 am
by Shady
Ah very cool, exactly what i would want :)

Re: SRR (ReScene) Integration (made patch)

Posted: October 30th, 2009, 12:21 pm
by sweetie
There's AweScript that does just that as a post-processing script.

http://forums.sabnzbd.org/index.php?topic=2510.0

You can run it with '-ersp' options for: (after creating SRR/SRS) extraction/deletion of rars/sfv/par2.

edit: Sorry, just noticed you've posted there, though I've linked a mirror in second post if you didn't catch it.

Re: SRR (ReScene) Integration (made patch)

Posted: October 30th, 2009, 2:24 pm
by Shady
Awescript is "awesome" :)

But the point is that I don't like extracting/deleting being done in the script. (it could fail) Like shypike said for things like this (predeletion) you need better scripting hooks.