1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Use wildcards when searching for single episodes on BTN

Fixed: Double episode searching on BTN
Closes #1305
This commit is contained in:
Mark McDowall 2016-05-20 23:02:22 -07:00
parent 2e90ea9c19
commit aec3ed16d0

View File

@ -53,7 +53,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(SingleEpisodeSearch
parameters = parameters.Clone(); parameters = parameters.Clone();
parameters.Category = "Episode"; parameters.Category = "Episode";
parameters.Name = string.Format("S{0:00}E{1:00}", episode.SeasonNumber, episode.EpisodeNumber); parameters.Name = string.Format("S{0:00}%E{1:00}%", episode.SeasonNumber, episode.EpisodeNumber);
pageableRequests.Add(GetPagedRequests(MaxPages, parameters)); pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
} }