mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
Hopefully fix download ordering.
This commit is contained in:
parent
864b441d8e
commit
3ce8232777
1 changed files with 2 additions and 2 deletions
|
@ -34,11 +34,11 @@ public List<DownloadDecision> PrioritizeDecisions(List<DownloadDecision> decisio
|
|||
public List<DownloadDecision> PrioritizeDecisionsForMovies(List<DownloadDecision> decisions)
|
||||
{
|
||||
return decisions.Where(c => c.RemoteMovie.Movie != null)
|
||||
/*.GroupBy(c => c.RemoteMovie.Movie.Id, (movieId, downloadDecisions) =>
|
||||
.GroupBy(c => c.RemoteMovie.Movie.Id, (movieId, downloadDecisions) =>
|
||||
{
|
||||
return downloadDecisions.OrderByDescending(decision => decision, new DownloadDecisionComparer(_delayProfileService));
|
||||
})
|
||||
.SelectMany(c => c)*/
|
||||
.SelectMany(c => c)
|
||||
.Union(decisions.Where(c => c.RemoteMovie.Movie == null))
|
||||
.ToList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue