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:
parent
4771b1c1b2
commit
c20e0667d4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user