mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 15:53:23 +00:00
Fixed: Preferring season packs over single episodes before comparing relative sizes.
This commit is contained in:
parent
14a99a28cc
commit
aa52a83395
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ public List<DownloadDecision> PrioritizeDecisions(List<DownloadDecision> decisio
|
|||
.OrderByDescending(c => c.RemoteEpisode.ParsedEpisodeInfo.Quality, new QualityModelComparer(series.Profile))
|
||||
.ThenBy(c => c.RemoteEpisode.Episodes.Select(e => e.EpisodeNumber).MinOrDefault())
|
||||
.ThenBy(c => PrioritizeDownloadProtocol(series, c.RemoteEpisode.Release.DownloadProtocol))
|
||||
.ThenByDescending(c => c.RemoteEpisode.Episodes.Count)
|
||||
.ThenBy(c => c.RemoteEpisode.Release.Size.Round(200.Megabytes()) / Math.Max(1, c.RemoteEpisode.Episodes.Count))
|
||||
.ThenByDescending(c => TorrentInfo.GetSeeders(c.RemoteEpisode.Release))
|
||||
.ThenBy(c => c.RemoteEpisode.Release.Age);
|
||||
|
|
Loading…
Reference in a new issue