mirror of https://github.com/Sonarr/Sonarr
New: Include nzbs.org DVD and BR categories
This commit is contained in:
parent
9428d68667
commit
4635ac0488
|
@ -114,11 +114,11 @@ namespace NzbDrone.Core.Providers.Indexer
|
||||||
foreach (var newznabDefinition in newznabIndexers)
|
foreach (var newznabDefinition in newznabIndexers)
|
||||||
{
|
{
|
||||||
if (!String.IsNullOrWhiteSpace(newznabDefinition.ApiKey))
|
if (!String.IsNullOrWhiteSpace(newznabDefinition.ApiKey))
|
||||||
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040&apikey={1}", newznabDefinition.Url,
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090&apikey={1}", newznabDefinition.Url,
|
||||||
newznabDefinition.ApiKey));
|
newznabDefinition.ApiKey));
|
||||||
|
|
||||||
else
|
else
|
||||||
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040", newznabDefinition.Url));
|
urls.Add(String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090s", newznabDefinition.Url));
|
||||||
}
|
}
|
||||||
|
|
||||||
return urls.ToArray();
|
return urls.ToArray();
|
||||||
|
|
Loading…
Reference in New Issue