mirror of https://github.com/lidarr/Lidarr
Multi-episode air time only applies to episodes in the same season
This commit is contained in:
parent
33fa468f91
commit
edfd527901
|
@ -132,7 +132,7 @@ namespace NzbDrone.Core.Tv
|
||||||
{
|
{
|
||||||
var groups =
|
var groups =
|
||||||
allEpisodes.Where(c => c.AirDateUtc.HasValue)
|
allEpisodes.Where(c => c.AirDateUtc.HasValue)
|
||||||
.GroupBy(e => new { e.SeriesId, e.AirDate })
|
.GroupBy(e => new { e.SeasonNumber, e.AirDate })
|
||||||
.Where(g => g.Count() > 1)
|
.Where(g => g.Count() > 1)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue