Read categories and priority from filename

Want something added? Ask for it here.
Post Reply
Jere_Tristan
Newbie
Newbie
Posts: 26
Joined: January 22nd, 2008, 1:14 am
Location: Chigau! Orewa Chigau!

Read categories and priority from filename

Post 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.
Last edited by Jere_Tristan on March 22nd, 2011, 8:24 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Read categories and priority from filename

Post 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?
Jere_Tristan
Newbie
Newbie
Posts: 26
Joined: January 22nd, 2008, 1:14 am
Location: Chigau! Orewa Chigau!

Re: Read categories and priority from filename

Post 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.
Post Reply