mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
parent
fb8143bb49
commit
5fe8884471
@ -90,7 +90,7 @@ public void Execute(CutoffUnmetMoviesSearchCommand message)
|
|||||||
|
|
||||||
List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList();
|
List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList();
|
||||||
|
|
||||||
var queue = _queueService.GetQueue().Select(q => q.Movie.Id);
|
var queue = _queueService.GetQueue().Where(q => q.Movie != null).Select(q => q.Movie.Id);
|
||||||
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
|
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
|
||||||
|
|
||||||
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
|
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
|
||||||
|
Loading…
Reference in New Issue
Block a user