par2 handling

Get help with all aspects of 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
spadger
Newbie
Newbie
Posts: 7
Joined: June 17th, 2010, 3:19 pm

par2 handling

Post by spadger »

How does sabnzb handle par2 files, does it download them all or just the ones that it needs, discarding the rest from the queue?
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: par2 handling

Post by inpheaux »

It downloads the first or smallest par first, and puts all other pars in an as-needed queue. As soon as it finishes one it goes back to downloading rars normally and verifies their hashes as parts complete. Once everything completes we determine if the set passed our internal "quick check". If it fails, we run par2verify using that first par. If par2verify failed we go back to the par list, download however many blocks we need, and then run par2repair.
Post Reply