mirror of https://github.com/Sonarr/Sonarr
Merge remote-tracking branch 'origin/master' into backbone
This commit is contained in:
commit
f40f1d37c7
|
@ -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