mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Missing Movie Search from Index Null Ref
This commit is contained in:
parent
136432d098
commit
3c380954ec
@ -69,7 +69,7 @@ public void Execute(MissingMoviesSearchCommand message)
|
||||
pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
|
||||
List<Movie> movies = _movieService.MoviesWithoutFiles(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();
|
||||
|
||||
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
|
||||
|
Loading…
Reference in New Issue
Block a user