1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 17:47:08 +00:00

New: Include nzbs.org DVD and BR categories

This commit is contained in:
Mark McDowall 2012-12-19 20:44:16 -08:00
parent 9428d68667
commit 4635ac0488

View file

@ -114,11 +114,11 @@ private string[] GetUrls()
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();