fill server only if par2 fails ('emergency only' fills)

Want something added? Ask for it here.
Post Reply
gvd
Newbie
Newbie
Posts: 10
Joined: June 15th, 2011, 9:45 am

fill server only if par2 fails ('emergency only' fills)

Post by gvd »

It'd be nice if I could classify a fill server as 'emergency only'. The idea would be that sabnzbd+ would attempt to download from all primary servers, and all secondary (non-emergency) servers, then if it can't unpack the file try and do a par2 recovery. If all of those fail, only then would it go to the emergency fill server and download whatever was needed.

That way, those of us with a regular all-you-can-eat main server plus a pay-as-you-go fill server would only hit the fill server if was absolutely necessary to do so.

As I understand it now, sab tries the primary servers, then the secondary servers, then tries par2 recovery. This can result in downloads from the secondary server that aren't strictly necessary if enough of the par2 information was downloaded from the non-emergency servers.

Thanks!

(Or rather than calling it an emergency fill server, call it a 'pay as you go' server, the implicit idea being that par2 recovery would be attempted before anything was downloaded from it.)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: fill server only if par2 fails ('emergency only' fills)

Post by shypike »

All primary servers are tried before the first backup.
This is independent of par2 repair.
gvd
Newbie
Newbie
Posts: 10
Joined: June 15th, 2011, 9:45 am

Re: fill server only if par2 fails ('emergency only' fills)

Post by gvd »

shypike wrote:All primary servers are tried before the first backup.
This is independent of par2 repair.
Yeah, but that's the problem / request. I'd like sab to try the par repair before trying the backup servers. That way if I don't need to download from the backup server (because par has enough to handle the repair), I won't.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: fill server only if par2 fails ('emergency only' fills)

Post by shypike »

That's much to complicated.
It would mean inserting extra articles in the middle of files afterwards.
Sorry, but that would make SABnzbd so much more complicated for just too little gain.
Post Reply