mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Found and fixed a bug in EpisodeProvider.GetEpisodesByParseResults, where it would incorrectly return all episodes for a season when a file was detected as a Full Season release.
This commit is contained in:
parent
c296b6975c
commit
117cebe655
4 changed files with 10 additions and 74 deletions
|
@ -125,14 +125,6 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
var result = new List<Episode>();
|
||||
|
||||
if (parseResult.EpisodeNumbers.Count == 0 && parseResult.FullSeason)
|
||||
{
|
||||
result.AddRange(GetEpisodesBySeason(parseResult.Series.SeriesId, parseResult.SeasonNumber));
|
||||
|
||||
//Return now as no further processing is required
|
||||
return result;
|
||||
}
|
||||
|
||||
foreach (var episodeNumber in parseResult.EpisodeNumbers)
|
||||
{
|
||||
var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue