Page 1 of 1

Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 2:37 am
by lennardw
Hi,

I wonder if it would be possible for SABnzbd to detect and make use of RAR Recovery Volumes (.rev) . I know they're not commonly used, but I do see them around once in a while.

For if you never even heard of them (which I can emagine if so :) ):
http://www.win-rar.com/index.php?id=24& ... cle_id=145

The .rev files are basically a kind of .par2 files, but they are generated by WinRar or the rar-command on Linux (and probably other OSses too).

Code: Select all

sabnzbd@gheyna ~ $ rar --help

RAR 3.93   Copyright (c) 1993-2010 Alexander Roshal   15 Mar 2010
Shareware version         Type RAR -? for help

Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  a             Add files to archive

...

  r             Repair archive
  rc            Reconstruct missing volumes
  rn            Rename archived files
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes

...


Re: Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 3:35 am
by shypike
Are any posters using them?
More important, the repair facility is not supported by the freeware unrar program.
You would need to buy the full rar program.

Re: Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 5:21 am
by lennardw
Thtat's a valid point.

I just recently acquired a backup of a Harry Potter movie with .rev files. So there are at least a handful. I understand that you wouldn't want to have too much work on a feature that'll be rarely used, and isn't available in the free version of rar, but I figured I'd throw up a ball and see where it lands :)

It might be nice to have it from a completeness point of view of course ;)

Re: Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 5:38 am
by shypike
It's quite simple actually.
We're not going to support a feature that requires the purchase of another program.
So it's not going to happen until Rarlab's freeware unrar supports it.

Re: Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 7:49 am
by sander
FWIW:

I'm able to create .REV files with the rar-command on my Ubuntu. I don't know how legal that rar copy on Ubuntu is, but maybe worth mentioning.

@lennardw: I think you can create a post-processing script that can handle the posted/downloaded .REV files. I've created such a post-processing script for .7zip archives. See https://forums.sabnzbd.org/viewtopic.ph ... =15#p43982

Question for lennardw: can you point me to a post containing .REV files?

Re: Suggestion: RAR Recovery Volumes

Posted: July 24th, 2011, 7:58 am
by shypike
Rar is payware on any platform, unrar is freeware.
I prefer not encourage the use of this feature, because this would mean
we cannot ship a complete solution for OSX and Windows any more.