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
1 changed files with 5 additions and 2 deletions

View File

@ -134,7 +134,10 @@ namespace NzbDrone.Core.NetImport
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 @@ namespace NzbDrone.Core.NetImport
{
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;
}