Weird PAR2 checking

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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
bugmenot
Full Member
Full Member
Posts: 102
Joined: January 30th, 2008, 9:25 pm

Weird PAR2 checking

Post by bugmenot »

SABnzbd assumes that if PAR2 filename is e.g. release.par2, checked files must be too release.xxx. Problem is when PAR2 file is release-OTHER.par2, and it should check files like release-subs.rar or release-sample.mkv, SABNzbd thinks that all files should be named as release-OTHER.xxx.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Weird PAR2 checking

Post by switch »

SABnzbd does not make any decisions between par2 sets and the files to check. It simply gives par2.exe a parity file and par2.exe checks the files that are described within the .par2 file.

The only grouping we do is that of rar sets.

If you are having a specific problem such as -OTHER.par2 keeps on failing please post and I will look into it. By the way, if you have "Ignore Sample Files" on in config>switches the -OTHER.par2 will likely fail.
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: Weird PAR2 checking

Post by ugokanain »

I am having a similar problem. Strangely enough, sab seems to process the main par file. However, it isn't assembling the files because if failed the par test (have both the Ignore Sample Files, and Post-process Only Verified Jobs switches on).

Seems that sab handles par checking for both par2 files (main and other). Any chance that if one of the par files checks alright, that it could finish processing that par2 file?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Weird PAR2 checking

Post by shypike »

The option in Config->Switches, called "safe post-processing" determines whether or not incorrect downloads will be further processed.
If you set to "off", all post processing will be done regardless of verification results.
heawater
Newbie
Newbie
Posts: 2
Joined: September 19th, 2008, 2:52 am

Re: Weird PAR2 checking

Post by heawater »

Hi,
I notice sabnzbd check the first *.par2 file, then download more parity files if incomplete.
But how does it do that? does it download only the numbers needed or all the files availlable?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Weird PAR2 checking

Post by shypike »

Only the required files are downloaded.
When verification fails, it downloads more par2 files and a re-check is done.
This is repeated until repair succeeds or all par2 files have been downloaded.
Post Reply