Skip to content

Commit

Permalink
Added the box categories to the new nzbs.org search string
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed Mar 29, 2012
1 parent 96c0971 commit aad083d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sickbeard/providers/newznab.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ def _doSearch(self, search_params, show=None):
"limit": 100,
"cat": '5030,5040'}

# hack this in for now
if self.getID() == 'nzbs_org':
params['cat'] += ',5070,5090'

if search_params:
params.update(search_params)

Expand Down Expand Up @@ -259,6 +263,10 @@ def _getRSSData(self):
"age": sickbeard.USENET_RETENTION,
"cat": '5040,5030'}

# hack this in for now
if self.provider.getID() == 'nzbs_org':
params['cat'] += ',5070,5090'

if self.provider.key:
params['apikey'] = self.provider.key

Expand Down

0 comments on commit aad083d

Please sign in to comment.