Page 1 of 1

Subcategories with a default handler?

Posted: October 15th, 2016, 12:39 pm
by akaSurreal
I am trying to have 4K Movies go into a separate folder from all other movies without having to try to guess & specify every single subcategory. So far it has not worked for me. Here is what I am trying to do:

Image

All the movies still go to the "Movies*" folder. The only way that seems to work is to remove the catch all, and specify 8+ sub-category tags and try to guess every single subcategory that any index site might use, knowing some will fall through the cracks. I think SAB should first look at subcategories then use the Movies* as a fall through. Any way to do this?

Re: Subcategories with a default handler?

Posted: October 16th, 2016, 12:18 am
by ALbino
I agree with you that it makes sense to sort by subcategories first, and then the overall category to catch everything else. That seems like the correct reasoning to me. FWIW, there are really only like 3 or 4 more categories you would care about though, so as an alternative I don't think it would take much effort to add them :)

Also, I see now that the Wiki says you add them as Movies*HD, but I've always been taught to add them as Movies > HD and that you can comma separate multiple categories on a single line like this:

Code: Select all

tv > hd, tv > sd, tv > other

Re: Subcategories with a default handler?

Posted: October 16th, 2016, 11:14 am
by akaSurreal
Yeah thanks, the indexes I use need the format in Movies*hd, Movies*sd, etc and I tested and works. So I set them up manually, but I still hope any dev might see this, as my initial post is the way I believe it should work and would be most intuitive, and would not require knowing all the possible subcategories.

Here's my non-4K tag list now:

Code: Select all

Movies*sd, Movies*hd, Movies*bluray, Movies*mobile, Movies*3d, Movies*foreign, Movies*other

Re: Subcategories with a default handler?

Posted: October 16th, 2016, 11:39 am
by safihre
I would expect it to work the other way around? (haven't looked at the code yet)
It stops after the first match, so since it matches Movies* first it won't try Movies*4K yet.
If you set Movies*4K first, then jobs not matching 4K will then be matched by Movies*

Re: Subcategories with a default handler?

Posted: October 16th, 2016, 11:54 am
by akaSurreal
There is no way to set an order of matching that I could find. I tried that by renaming the categories, since it seems to just sort alphabetically, but made no difference.

Re: Subcategories with a default handler?

Posted: October 18th, 2016, 1:44 pm
by shypike
The categories are tried in the order they appear on screen and in the sabnzbd.ini file.
What you could do, is change the order in the sabnzbd.ini file with a text editor.
Make sure SABnzbd isn't running when you edit.

I guess we should make some improvements to the Categories page.

Re: Subcategories with a default handler?

Posted: October 18th, 2016, 1:55 pm
by safihre
Drag and drop.. Include an order.

Re: Subcategories with a default handler?

Posted: October 18th, 2016, 6:19 pm
by akaSurreal
safihre wrote:Drag and drop.. Include an order.
+1

:)