Added additional tier to search for daily series type on BTN to find faux-daily series with SxxExx groups instead of date groups.

fixes #1111
pull/2/head
Taloth Saldono 9 years ago
parent 4771b1c1b2
commit c20e0667d4

@ -96,6 +96,18 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
parameters.Name = string.Format("{0:yyyy}.{0:MM}.{0:dd}", searchCriteria.AirDate); parameters.Name = string.Format("{0:yyyy}.{0:MM}.{0:dd}", searchCriteria.AirDate);
pageableRequests.Add(GetPagedRequests(MaxPages, parameters)); pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
pageableRequests.AddTier();
foreach (var episode in searchCriteria.Episodes)
{
parameters = parameters.Clone();
parameters.Category = "Episode";
parameters.Name = string.Format("S{0:00}E{1:00}", episode.SeasonNumber, episode.EpisodeNumber);
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
}
} }
return pageableRequests; return pageableRequests;

Loading…
Cancel
Save