Author Topic: File Repairing (manually able to start before group download ends)  (Read 4963 times)

Offline zoned

  • Contributor
  • ***
  • Posts: 115
File Repairing - Manually able to start repair before group download ends. Group meaning when many rar 's are to be downloaded to same folder and are all seen by expanding the + radio button beside the group. Sometimes a group can have many files. when need to unpack example the first few episodes before the whole group is at whatever %. Where I have manually downloaded the needed par2.vols (example 19/20 blocks will download the first two smallest is usually enough (also read note: below).

Though the repair PAR2 set option won't start repair those episodes until the whole group is downloaded or unless I manually pause all the files in the group so altbinz thinks the group is complete. Having the ability to manually repair any episode before group is complete will save having to use quickpar to manually do this (also read Note: below)

Note: My other post joins to this, which fits with this post (this post needs the other post, while the other post doesn't need this one)
https://www.altbinz.net/forum/requests/repairing-par2-set-also-repairs-samples-files-(when-they-are-uneeded)/

Or is it an altbinz setting that I have missed, do please direct me to it

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: File Repairing (manually able to start before group download ends)
« Reply #1 on: March 20, 2013, 04:24:13 pm »
I'm still unclear what you mean by 'group' or RAR files - you mean that you want to be able to start unraring a single multi-volume RAR set early, regardless of whether all the volumes are available?

Or do you mean more than one RAR set in the same directory, but covered by a single PAR2 set?

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #2 on: March 21, 2013, 07:34:20 pm »
Collapsed Download queue groups (each title is a group) although sometimes can be just a single download maybe is called a title nest or similar

+-Title one
|
+-Title two


Expanded download queue (condensed many other files would be here) All episodes are individual file episodes. Where can be one file or multiple .r## files for each episode.

+- Title One
|  |episode 1 20/20
|  |episode 2 20/20
|  |episode 3 19/20
|  |episode 4 20/20
|  |episode 5 20/20
|  |episode 6 currently downloading
|  |
|  |
|  |
|  |
|  |episode 26


The above atm will repair all file only when all downloads in the title group are complete last been episode 26 here. Need to ability to repair episode 3 before the final episode 26 is complete. This can be by selecting to repair where it will download the need .par2.vol files and repairs the episode. I don't mind if it needs to pause all to do the before continuing with episode 6 that it is currently downloading

Offline Rdl

  • Administrator
  • *****
  • Posts: 4061
Re: File Repairing (manually able to start before group download ends)
« Reply #3 on: March 21, 2013, 08:21:36 pm »
I get what you want, but that behaviour will not be changed. If you need it fast, manualy unpause par2 files and it will be auto repaired, if you need it auto - don't stick 26 eps in one collection.

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #4 on: March 22, 2013, 12:18:23 am »
Fast if I unpause the par2.vol 's and after they have downloaded they don't repair. Instead waits for whole group download to complete, even when select repair par2 set which I guess is the one to start the repair process. Am I selecting the correct option to do the repair manually.



Par2 settings (enabled)
Par2 checking
Par2 repairing
Cleanup after Par2 repair
Save Par2 info on exit


It becomes more easy to manage the download queue when I put a season of episodes into such download group, else the list become to big and unmanageable even if were all listed in episode order as are inside each episode group download.

like to do this with altbinz alone instead of also needing quickpar

Offline Rdl

  • Administrator
  • *****
  • Posts: 4061
Re: File Repairing (manually able to start before group download ends)
« Reply #5 on: March 22, 2013, 09:44:26 am »
I don't see why would you have to involve quickpar?

Unpause needed number of blocks, move them in front of the queue, once they are downloaded, rightclick on par2 set and choose repair.

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #6 on: March 23, 2013, 12:33:12 am »
If so then I may have a setting set wrong, please indicate which settings are needed to be activated for this to work and which shouldn't be active.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4061
Re: File Repairing (manually able to start before group download ends)
« Reply #7 on: March 23, 2013, 08:29:40 am »
What part doesn't work for you?

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #8 on: March 23, 2013, 06:33:12 pm »
Unable to manual repair an episode before the whole download episode group has completed (all episode downloads). Repairing as with the third and fifth the posts in this thread with all par2.vols downloaded.

Repairing tried and failed from par2 tab by selecting an episode expanding it to show all rar parts and par2.vols. Then selecting repair on the bad rar part I have downloaded par2.vols for have also have tried on other occasions doing the same again on complete block par2.vols to invoke repair process. After trying and leaving for long periods to do repair not one has repaired as yet.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4061
Re: File Repairing (manually able to start before group download ends)
« Reply #9 on: March 23, 2013, 08:54:41 pm »
You can't start repair by selecting bad rar or par2.vols. You have to select par set (so that the root node of rars) and then right click on it and select repair - that is if there is enough blocks available.

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #10 on: March 24, 2013, 03:58:57 am »
I have never see an episode grouping or any group in the par2 tab like that on the the download tab. Only always all episodes listed individually. Choosing the episode name collapsed itself has got files now been repaired. Many thanks for the information RDL it's very much appreciated and needed :)

Offline zoned

  • Contributor
  • ***
  • Posts: 115
Re: File Repairing (manually able to start before group download ends)
« Reply #11 on: March 24, 2013, 04:16:08 am »
BTW is there any way you could make it so when we highlight and select repair on a file (episode or other) on the par2 tab that it will auto download the correct par2.vols that is available from the download list and repair the file.

Often a whole group of par2.vols can be many and very large to download them all, when it is unknown which par2.vols that are exactly needed to repair a file. Repair process same as when a download group or file has ended that altbinz knows exactly which par2.vols are needed to repair broken files.

Offline hotMetal

  • Contributor
  • ***
  • Posts: 4
Re: File Repairing (manually able to start before group download ends)
« Reply #12 on: April 20, 2013, 01:30:49 am »
I've been caught in the same scenario before, it gets tricky to solve though I would think.

Say for example you're downloading the Sausages TV Show with all seasons included as one NZB file you found somewhere as a TV-Pack or so-on. It will have season's 1-4 each having its own episodes: season 1 episode 1 etc. Until season 4 episode 22 going off the Blu-Ray rip. Now, what YOU ARE saying will work if each episode of each season in the NZB has it's own set of recovery PAR2 files. Like stated previously by Rdl.
But... if the NZB was packaged in a way that the whole set - each episode of each season was NOT given a per sub-set recovery volume PAR2's after the initial packaging, but rather as one large main set PAR2 recovery files, then it cannot work anytime earlier because, even though you're seeing it as season 1 episode 1 - missing X blocks.... you cannot do a repair on that "sub-set" until all the main recovery set PAR2 files are downloaded. QuickPAR will only see it as a whole, not as a per sub-set broken down version when packed this way.

With some larger NZB's this is normally always the case, quicker for the uploader to package their NZB file. You do get lucky sometimes and get a per sub-set recovery PAR2 files NZB, in this instance if season 1 episode 1 was missing X blocks, then quickPAR will automatically select the recovery PAR2 files as required. However, since these recovery files are now out of cue, they can only start when the original cue of main files are downloaded. It doesn't start repairing itself automatically straight away but instead carries on with season 1 episode 2 etc, even though episode 1 is ready and awaiting repair. It cannot repair itself automatically since the PAR2 files needed for its repair are set to commence download only after the main cue has completed. This is your issue by the sounds of things.

So the only logical way of solving your problem would be if Alt.Binz could automatically "Re-Cue" the files in the NZB set according to a per sub-set layout determined by name/no of the file/folder. Ie: you have your large NZB file set, but with individual PAR2 recovery files per sub-set. So after season 1 episode 1 is downloaded and found to be missing X blocks, Alt.Binz would then pause episode 2 from downloading and select the required recovery PAR2 files for that sub-set (file/folder) to repair it. "Jumping the Cue" with recovery PAR2 files needed for sub-set X instead of proceeding with the main cue set. After the repair, it would then resume the main cue set (episode 2 etc.) If there aren't sufficient recovery files to recover the missing blocks, it would just stay as a broken sub-set, and Alt.Binz carries on with its job until completion of the main set.

This is only speculative and highly dependent on un-broken PAR2 files in the set or sub-sets as well as NZB set file order. If the NZB set files are out of order there is nothing you can do but wait...

Recovering sub-sets is not possible in a non-sub-set recovery PAR2 packed NZB, unless you want to download all the *.PAR2 recovery files first and only then commence your main cue download. This would be real bad logic to follow and not to mention hard to implement since there is no definitive "sub-sets" in the NZB package. If it's just a long cue of *.RAR - *.R999, then you're screwed. There is no way for quickPAR to know when to jump in to fix your "sub-set" as all it sees is one big package, not sub-sets of the main set.  -  (It's like RAR-ing an entire TV show with multiple seasons and episodes all into the same RAR-span, without prior stacking, leaving you when you unRAR the package with 1 huge folder with all the episodes and seasons mixed together. There is no way to know if episode 1 is in RAR #1 or RAR #99 = difficult to solve on a per sub-set level. You might want to watch episode 1 thinking that RAR #1 thru RAR #10 might have it, but in reality it's scattered all over the show. PLUS, then add in recovery PAR2 files which only know how to repair the NZB set as a whole, not as small sub-sets on the side)

What you could do if the NZB set is packaged in order at least, but still missing sub-sets, is keep up with the manual method for single cued large sorted NZB files, because at the end of the day: X (main set) amount of blocks missing is going to = X1+X2+X3+etc (Sub-Sets) amount of blocks missing later. So even though they aren't divided into tidy sub-sets, you can still manually repair a so-called sub-set ( or episode X) with the main set recovery PAR2 files, but only if the NZB set is in the correct order. Alt.Binz could potentially even do this for you automatically upon inspection of the NZB cue order. Say, EP01.RAR, EP01.R00, EP01.R02 ... etc EP02.R*1, EP02.R*2, EP02.R*3 ... etc. There's a clear pattern of the files in the cue in order. So Alt.Binz could be tasked to to complete and repair where possible EP01.result before continuing with EP02.R*1 etc. Based on the "Jump the Cue" theory of pause/re-cue/repair/resume.

Or if you can, just download sub-set NZB's (Episodes instead of Seasons of a show). You don't have to mass download. It takes longer yes, but at least then you can watch your shows as they download, and they will repair automatically if needed when completed because now they belong to a single set and not a group with "sub-sets". PAR2 file integrity dependent off-course.

Sorry for the long post, its kind of difficult to explain simply  :-\

Perhaps this is more of what could possibly be implemented in Alt.Binz in the future to make it more NZB-SMART  :P

« Last Edit: April 20, 2013, 01:44:01 am by Hecks »