mirror of
https://github.com/Readarr/Readarr.git
synced 2026-02-01 01:31:50 -05: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:
@@ -201,7 +201,7 @@ public virtual IEnumerable<EpisodeFile> GetSeriesFiles(int seriesId)
|
||||
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);
|
||||
|
||||
return new Tuple<int, int>(episodeTotal.Count(), episodes.Count());
|
||||
return new Tuple<int, int>(episodes.Count(), episodeTotal.Count());
|
||||
}
|
||||
|
||||
private List<string> GetMediaFileList(string path)
|
||||
|
||||
Reference in New Issue
Block a user