Author Topic: Allow execute command scripts to be run without par2 check cycle  (Read 2589 times)

Offline bbyte

  • Contributor
  • ***
  • Posts: 9
I noticed my file / directory script wasn't working on downloads. Luckily before trouble-shooting as the code did seem right.

Enabled DL small .par file and re-tried. The script then ran...

I would appreciate if you could re-pause disable all .pars and still be able to have your script execute on all downloads, maybe have a checkbox to always run command on all complete downloads.

I only unpause all pars if the files are corrupt and luckily that's a rare occassion.

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #1 on: October 27, 2010, 05:47:32 pm »
I'm not sure that i completely understand your setup, given the last sentence, but here goes:

Alt.Binz needs the small par2 to do any verifying and autounpausing for repair (of just the par2s needed) and for unraring - you should always allow this to be downloaded (see Setup).

Scripts will always run when the configured cycle is complete. So if you disable par2 checking & repair in setup, it will run when download is complete (very unwise though).


Offline bbyte

  • Contributor
  • ***
  • Posts: 9
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #2 on: October 27, 2010, 06:20:53 pm »
I had par2 checking enabled, I just had par2 imports set as [paused] in Setup/NZB options.

I use SFV regardless. Only then, if that fails, I will unpause par2 manually and try to repair the dl. My only issue is I have a script running and it only seems to auto execute when there is an actual .par2 unpaused and completes. So it seems if there's no .par2 the auto par2 check skips and so does the default execute command which I'd like to run regardless.

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #3 on: October 27, 2010, 06:28:04 pm »
Well, that just isn't how Alt.Binz works. Make sure small par2 pausing is unchecked in Setup -> NZB -> import as Paused (much better than sfv), or disable par2 checking completely.

Offline bbyte

  • Contributor
  • ***
  • Posts: 9
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #4 on: October 30, 2010, 01:03:57 pm »
Disabling the PAR2 check sequence appears to also disable the command execute routine so it doesn't run the batch. Have you experienced otherwise?

I tried disabling PAR2 check, re-downloading and it didn't run. Only seems to run when small par2 is there and the par2 check function is enabled.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #5 on: October 30, 2010, 01:13:11 pm »
Exactly. Current concept allows running scripts only for par2 sets

Offline bbyte

  • Contributor
  • ***
  • Posts: 9
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #6 on: October 30, 2010, 01:27:36 pm »
Thanks for your responses.

IMO would be good to force it to run under any circumstance after a bin is finished downloading.

Offline Hecks

  • Contributor
  • ***
  • Posts: 2011
  • naughty cop
Re: Allow execute command scripts to be run without par2 check cycle
« Reply #7 on: October 30, 2010, 01:29:22 pm »
Ah yes, sorry, I guess I should have read what i added to the wiki!

Quote
Since version 0.26.1, Alt.binz includes an Execute Command feature that runs after PAR2 checking, repairing or unraring is complete (whichever is last in the cycle).