Page 1 of 1

pre-queue script does not pickup categories settings.

Posted: April 9th, 2011, 7:53 pm
by cryodream
First, probably I need to ask, what does it mean: "Each parameter (except 1) can be an empty line, meaning the original value." (taken from http://wiki.sabnzbd.org/user-pre-queue-script). What original value? Is it the value of Default category, or the category which I set with my pre-queue script?

1st:
Anyway, like the title says, if I use a pre-queue script and set the category, sab does not pick up settings for that category. I would like to suggest, that if category is provided with pre-queue script, sab should set all the parameters according to that categories settings. This way I don't need to set every little thing with pre-queue script.

2nd:
Even weirder, it seems sab picks up post-process script from category, but nothing else. I mean if I use my pre-queue script to set only the category and all other lines in the console are empty (1 to accept and nzbname is present, oc), SAB actually sets the post-process script for the new nzb as per category settings, but priority and processing - NO.  :o
This is really confusing...

Otherwise imho, pre-process script just made SAB from a wonderful program, to irreplaceable.

Re: pre-queue script does not pickup categories settings.

Posted: April 10th, 2011, 7:32 am
by shypike
It should work like you described it.
Unfortunately it doesn't.
The category is a specialty that needs special handling.

This will be fixed in the next release.

In the mean time, set all attributes explicitly.

Re: pre-queue script does not pickup categories settings.

Posted: April 10th, 2011, 12:23 pm
by cryodream
@shypike

Thank you for an answer.