1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00

Fix: Net import optimization

This commit is contained in:
geogolem 2019-11-15 19:20:13 -05:00 committed by Devin Buhl
parent a06b044342
commit 15b63778e5

View File

@ -125,6 +125,12 @@ public void Execute(NetImportSyncCommand message)
CleanLibrary(listedMovies);
}
listedMovies = listedMovies.Where(x => !_movieService.MovieExists(x)).ToList();
if (listedMovies.Any())
{
_logger.Info($"Found {listedMovies.Count()} movies on your auto enabled lists not in your library");
}
var importExclusions = new List<string>();
var moviesToAdd = new List<Movie>();