Page 1 of 1

Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 2:13 pm
by NoTolerance
Running v0.7.9 on Windows.

I was attempting to add a new Group/Indexer tag and noticed that Sab is now automatically inserting a comma separator between spaces.

So, as an example:

MyTest > Category now automatically switches to MyTest, >, Category after hitting Save.

My previously defined Group/Indexer tags using the same format are fine and have not changed.

If this isn't a bug but user error, I apologize and please move the topic accordingly.

Re: Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 2:16 pm
by shypike
Few indexers use spaces to separate and many users don't realize that they should
use a comma-separated list and use spaces.
That's why we changed it.
The work-around is fairly straightforward: use MyTest*Category

Re: Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 2:24 pm
by NoTolerance
I did try that configuration after noticing the updated entry in the Wiki.

However, it doesn't work. The added NZB assigns itself to the Default category and is failing to match.

I'm sure you can guess that I'm using a Newznab site based off that format. I'm sending the NZB to Sab via Sabconnect++ with my site added.

Re: Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 2:41 pm
by NoTolerance
I'll provide a more specific example as well. It might help.

Category: Sports
Indexer: TV*Sport
Newznab Section: TV > Sport

Category: TV
Indexer: tv.SD*, tv.HD*, TV*SD, TV*HD, TV*Other (remnants from NZBMatrix still in there)

When I send an NZB from "Sport", it's matching against TV instead, assigning it to that Category.

I've also tried Audio* and Audio*MP3

Both just send it to Default.

Re: Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 5:37 pm
by shypike
What about removing the remmants first?
Easier to diagnose.
Isn't SABconnect++ sending a category by itself?

Re: Category Management: Group/Indexer Tag

Posted: January 26th, 2013, 5:45 pm
by NoTolerance
The remnants shouldn't matter. All that's showing is that the Sports category isn't working.

The Audio category, however, is clean. It's just as shown. It doesn't work.

Sabconnect++ has the ability to send its own category if you configure it that way, but it natively sends the category from the index site.

Re: Category Management: Group/Indexer Tag

Posted: January 27th, 2013, 5:35 am
by shypike
Sabconnect++ has the ability to send its own category if you configure it that way, but it natively sends the category from the index site.
If you are using SABconnect++ like that, that explains the problem.
SABnzbd expects its own categories in api calls.
Only when it gets the category from the index site or from the nzb, it will convert categories.
The way you set it up now, means that SABconnect++ should do the conversion.

Re: Category Management: Group/Indexer Tag

Posted: January 27th, 2013, 10:02 am
by NoTolerance
I really don't think that's the problem. I've been using it this way for more than a year. Sabconnect++ still uses the API key to send the data to Sab.

But to test, I added the API info straight into my profile on the index site, bypassing Sabconnect++, and sent a download straight to Sab that way instead. Same result: the category wasn't matched and it assigned it to Default.

I have another Sab install I can test with, so I'll do that before blowing away my config and starting clean.

Re: Category Management: Group/Indexer Tag

Posted: January 27th, 2013, 11:18 am
by shypike
I tested with your settings, SABconnect++ and nzb.su. No problem, "sport" is selected as expected.
How are your SABconnect++ settings? It has several category fields.

tv ==> TV*SD, TV*HD, tv.SD*, tv.HD*
sport ==> TV*Sport

Redacted log:

Code: Select all

::DEBUG::[interface:420] API-call from ZZZ ChromeXXX {'output': 'json', 'apikey': 'XXX', 'mode': 'addurl', '_': 'XXXX', 'name': 'https://nzb.su/getnzb/XXXX?i=XXX&r=XXXX&del=1'}
::INFO::[urlgrabber:116] Grabbing URL https://nzb.su/getnzb/XXXX/iMPACT.WrXXX?i=YYY&r=ZZZZZ&del=1
::DEBUG::[misc:156] Convert index site category "TV > Sport" to user-cat "sport"

Re: Category Management: Group/Indexer Tag

Posted: January 27th, 2013, 4:07 pm
by NoTolerance
More testing... My results from my earlier post were incorrect. I went through my configuration again. I think my index site wasn't passing the category because I used the https URL. Maybe Newznab doesn't support that? Regardless, I switched it to the non-secure URL and the category passes correctly.

So I went over my Sabconnect++ settings again. I enabled the option "Override the category with the one chosen from the menu".

That seems to have corrected the issue I was having.

Sorry for wasting your time on this. Maybe move this thread to the General Help forum in case anyone else encounters the same issue?

Thank you for testing on your end.

Re: Category Management: Group/Indexer Tag

Posted: January 27th, 2013, 4:22 pm
by shypike
NoTolerance wrote:my Sabconnect++ settings again. I enabled the option "Override the category with the one chosen from the menu".
I wouldn't call that "solving" it :)
It means that you must set the category manually.
I don't think I have tested with https, but I would be surprised if that made a difference.