1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01:00

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
This commit is contained in:
Taloth Saldono 2016-01-30 21:15:42 +01:00
parent 4771b1c1b2
commit c20e0667d4

View File

@ -96,6 +96,18 @@ public virtual IndexerPageableRequestChain GetSearchRequests(DailyEpisodeSearchC
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;