Join files before verification

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
dalek
Newbie
Newbie
Posts: 12
Joined: December 31st, 2009, 4:54 am

Join files before verification

Post by dalek »

Version: 0.5.0 beta 5
OS: OpenBSD 4.6
Install-type: from source
Skin (if applicable): Classic?
Firewall Software: pf
Are you using IPV6?: No
Is the issue reproducible? yes

I'm unsure if this a bug or a feature. When an nzb contains  file.001, file.002 etc and par2 recovery files,
repair fails if the recovery files have been made from file instead of the split parts. Is it possible to join the files before verification?
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: Join files before verification

Post by inpheaux »

[Edit: i take all that back. par2 is, in fact, magical.]

Ok, the problem here is that based on the output of par2 I don't think we can tell the difference between something that's ok, but was par'ed out of order, and something that's just gone. We'd probably have to add some stuff to Quick Check where we look at the files we have, look at the files the par describes, and then make some iffy assumptions.

Even if we wrote something to handle this edge case, I'm not sure I'd trust it.

It's an edge case, the person who posted it doesn't know how you're supposed to do this stuff, I don't think it'd be a great idea to try to cater to it.
Last edited by inpheaux on January 1st, 2010, 7:21 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Join files before verification

Post by shypike »

PAR2 will automatically "join" files when necessary.
This is fully supported by SABnzbd.
It happens when the poster splits the main file after creating the par2 files.

Do you have an example NZB showing that this fails?
If so, please email to bugs at sabnzbd.org
Post Reply