1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-01 12:54:21 +00:00

Merge pull request #996 from geogolem/ImportExclusionsFix

the movie was not being printed correctly, and i believe this
This commit is contained in:
geogolem 2017-03-03 12:55:00 -05:00 committed by GitHub
commit f7bc889723

View file

@ -134,7 +134,10 @@ public void Execute(NetImportSyncCommand message)
var movies = listedMovies.Where(x => !_movieService.MovieExists(x)).ToList();
_logger.Debug("Found {0} movies on your auto enabled lists not in your library", movies.Count);
if (movies.Count > 0)
{
_logger.Info("Found {0} movies on your auto enabled lists not in your library", movies.Count);
}
foreach (var movie in movies)
{
@ -145,7 +148,7 @@ public void Execute(NetImportSyncCommand message)
{
if (exclusion == movie.ImdbId || exclusion == movie.TmdbId.ToString())
{
_logger.Info("Movie: {0} was found but will not be added because it {exclusion} was found on your exclusion list", exclusion);
_logger.Info("Movie: {0} was found but will not be added because {1} was found on your exclusion list",movie, exclusion);
shouldAdd = false;
break;
}