Page 1 of 1

Read categories and priority from filename

Posted: March 22nd, 2011, 8:19 pm
by Jere_Tristan
Hi, I wonder if you guys can implement this idea.

Suppose I have two files, one is "filea.nzb" and the other is "fileb.nzb.zip" which in and of itself contains "filec.nzb", "filed.nzb", "filee.nzb".

If I add them to the watch folder as is, Sabnzbd will automatically assign them the "default" category with also the "normal" priority and "+Delete" processing.

say I want to add 'dvd-sp' as category, I should be able to rename the files as follows: "filea[*dvd-sp*].nzb" and Sabnzbd could automatically look up this dvd-sp category in its config and assign it to this particular file. For the rar file, renaming the rar should take care of all the files within it, unless the files within it also have the so-called flags on them.

To add the other flags, one could also do as the following example shows: filea[*dvd-sp|Normal|+Delete*].nzb, or filea[*dvd-sp|1|3*] since the priority and the processing flags never change and therefore can get numbered instead.

And then there are people who say "but assign a category in newzbin and SabNZBD will automatically assign the correct one for you" but that is not what we need. When the file I'm looking for is not on Newzbin, or I decided to boycott them, or I have just stumbled upon a particular set of files elsewhere, I'm SOL as to adding them quickly to the queue.


Just my 2c guys, hope you'll give this some serious thought.

Re: Read categories and priority from filename

Posted: March 23rd, 2011, 2:50 am
by shypike
When you name a file named {{tv}}show.nzb, it will be assigned the "tv" category and the job name will be "show".
Categories already have settings like PP, scripts and priorities associated with them.
Isn't this what you are looking for?

Re: Read categories and priority from filename

Posted: March 28th, 2011, 11:09 pm
by Jere_Tristan
Thanks, it's exactly what I've been looking for.

the {{xx}} thing must be whatever you have put in custom, meaning if you made a category called "ubuntu linux" you have to call the nzb file or zip file containing nzb's {{ubuntu linux}}name_of_file.zip

Thanks, you can close this thread.