mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Had the episodes going into the episode count tuple in the wrong order than, they were being retrieved. Oh noes.
This commit is contained in:
parent
90d9e7d41e
commit
a4e96ba314
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ namespace NzbDrone.Core.Providers
|
||||||
var episodeTotal = series.Episodes.Where(e => monitoredSeasons.Contains(e.SeasonId) && e.AirDate <= DateTime.Today && e.AirDate > new DateTime(1899, 12, 31));
|
var episodeTotal = series.Episodes.Where(e => monitoredSeasons.Contains(e.SeasonId) && e.AirDate <= DateTime.Today && e.AirDate > new DateTime(1899, 12, 31));
|
||||||
var episodes = episodeTotal.Where(e => e.EpisodeFileId > 0);
|
var episodes = episodeTotal.Where(e => e.EpisodeFileId > 0);
|
||||||
|
|
||||||
return new Tuple<int, int>(episodeTotal.Count(), episodes.Count());
|
return new Tuple<int, int>(episodes.Count(), episodeTotal.Count());
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<string> GetMediaFileList(string path)
|
private List<string> GetMediaFileList(string path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue