mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Added wildcard to BTN season searches to pick up 'Season x - Episodes 1-10' formats.
Closes #1946
This commit is contained in:
parent
5aa02eb15c
commit
9f8091e4d7
@ -30,7 +30,7 @@ public virtual IndexerPageableRequestChain GetRecentRequests()
|
|||||||
Id = ">=" + (LastRecentTorrentID.Value - 100)
|
Id = ">=" + (LastRecentTorrentID.Value - 100)
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
pageableRequests.AddTier(GetPagedRequests(MaxPages, new BroadcastheNetTorrentQuery()
|
pageableRequests.AddTier(GetPagedRequests(MaxPages, new BroadcastheNetTorrentQuery()
|
||||||
{
|
{
|
||||||
Age = "<=86400"
|
Age = "<=86400"
|
||||||
@ -80,7 +80,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(SeasonSearchCriteri
|
|||||||
foreach (var seasonNumber in searchCriteria.Episodes.Select(v => v.SeasonNumber).Distinct())
|
foreach (var seasonNumber in searchCriteria.Episodes.Select(v => v.SeasonNumber).Distinct())
|
||||||
{
|
{
|
||||||
parameters.Category = "Season";
|
parameters.Category = "Season";
|
||||||
parameters.Name = string.Format("Season {0}", seasonNumber);
|
parameters.Name = string.Format("Season {0}%", seasonNumber);
|
||||||
|
|
||||||
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
|
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(AnimeEpisodeSearchC
|
|||||||
parameters = parameters.Clone();
|
parameters = parameters.Clone();
|
||||||
|
|
||||||
parameters.Category = "Season";
|
parameters.Category = "Season";
|
||||||
parameters.Name = string.Format("Season {0}", seasonNumber);
|
parameters.Name = string.Format("Season {0}%", seasonNumber);
|
||||||
|
|
||||||
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
|
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user