Fixed: Added wildcard to BTN season searches to pick up 'Season x - Episodes 1-10' formats.

Closes #1946
This commit is contained in:
Taloth Saldono 2017-05-26 15:48:50 +02:00
parent 5aa02eb15c
commit 9f8091e4d7
1 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
foreach (var seasonNumber in searchCriteria.Episodes.Select(v => v.SeasonNumber).Distinct())
{
parameters.Category = "Season";
parameters.Name = string.Format("Season {0}", seasonNumber);
parameters.Name = string.Format("Season {0}%", seasonNumber);
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
@ -146,7 +146,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
parameters = parameters.Clone();
parameters.Category = "Season";
parameters.Name = string.Format("Season {0}", seasonNumber);
parameters.Name = string.Format("Season {0}%", seasonNumber);
pageableRequests.Add(GetPagedRequests(MaxPages, parameters));
}