mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
the movie was not being printed correctly, and i believe this
was also causing movies to be added when they shouldnt have been...
This commit is contained in:
parent
a2098a5797
commit
cc4fb5a40b
1 changed files with 5 additions and 2 deletions
|
@ -134,7 +134,10 @@ namespace NzbDrone.Core.NetImport
|
||||||
|
|
||||||
var movies = listedMovies.Where(x => !_movieService.MovieExists(x)).ToList();
|
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)
|
foreach (var movie in movies)
|
||||||
{
|
{
|
||||||
|
@ -145,7 +148,7 @@ namespace NzbDrone.Core.NetImport
|
||||||
{
|
{
|
||||||
if (exclusion == movie.ImdbId || exclusion == movie.TmdbId.ToString())
|
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;
|
shouldAdd = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue