Fixed: BTN Anime Season search.

pull/4/head
Taloth Saldono 10 years ago
parent dbb3eb0e54
commit 067f450486

@ -117,6 +117,16 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
pageableRequest.AddIfNotNull(GetPagedRequests(MaxPages, parameters));
}
foreach (var seasonNumber in searchCriteria.Episodes.Select(v => v.SeasonNumber).Distinct())
{
parameters = parameters.Clone();
parameters.Category = "Season";
parameters.Name = String.Format("Season {0}", seasonNumber);
pageableRequest.AddIfNotNull(GetPagedRequests(MaxPages, parameters));
}
}
return pageableRequest;

Loading…
Cancel
Save