RSS feed not hitting correct category

Get help, report and discuss bugs.
Post Reply
ChampKind
Posts: 4
Joined: 14 Dec 2015, 13:30

RSS feed not hitting correct category

Post by ChampKind » 23 Nov 2018, 19:06

I have 2 indexers, one works and one doesnt and i cant figure out why

On nzbs(org) I have an item in my cart, and I go to fetch it via rss feed and the category matches my category.
Then I do the same thing with omgwtf, and it doesnt match any category.

I'm on the latest version of nzbget 21.0-testing-r2220 and it's driving me nuts

Once the download is in queue for omg, the category is not there.

Please help, thanks in advance
Last edited by ChampKind on 24 Nov 2018, 14:17, edited 1 time in total.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: RSS feed not hitting correct category

Post by hugbug » 23 Nov 2018, 20:25

For every added nzb the category must be set explicitly. For example when adding nzb via webui there is field category. For items adding from RSS the category can be set via RSS filter commands or via field Category in RSS feed settings.

If category wasn't set explicitly but the indexer has submitted it via http header then nzbget uses that category. Probably one of your indexers provides that info.

For the second indexer you can add commands to RSS filter to set nzb category depending on RSS item category.

ChampKind
Posts: 4
Joined: 14 Dec 2015, 13:30

Re: RSS feed not hitting correct category

Post by ChampKind » 23 Nov 2018, 22:59

Hey hugbug,

You're correct nzbs.org has these headers that omg doesnt

```
X-DNZB-Name: X.2016.DVDRip.x264-BARGAiN
X-DNZB-Category: Movies-x264
X-DNZB-Details: https://nzbs.org/details/X
X-DNZB-NFO:
X-DNZB-MoreInfo: http://www.imdb.com/title/X
```

It'll be a long shot for me to get the admin at omg to change it, and I assume that I couldn't convince you to carry the <category> over from the RSS feed to the download url?

So I'm either going to create a proxy script as a middle man between nzbget and the indexer, or I could try to write a pull request to github, but I've never written in c++ and I'm not sure you would accept it. What do you think I should do?

Thanks again

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: RSS feed not hitting correct category

Post by hugbug » 24 Nov 2018, 00:43

You can set correct category in the RSS filter in nzbget. Something like this:

Code: Select all

Options(category:movies): category:*movies*
Options(category:tv): category:*tv*
Accept: *
Here "Options(category:movies):" sets nzbget category for rss items which have substring "movies" in rss field "category".

ChampKind
Posts: 4
Joined: 14 Dec 2015, 13:30

Re: RSS feed not hitting correct category

Post by ChampKind » 24 Nov 2018, 03:16

OMG you're the best, here's what I used:

Code: Select all

Accept(category:TV): category:tv*
Accept(category:Movies): category:movie*
Accept(category:Other): *
SOLVED! You rock man.

Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests