|
|
@ -728,6 +728,8 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Movie MapMovieToTmdbMovie(Movie movie)
|
|
|
|
public Movie MapMovieToTmdbMovie(Movie movie)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Movie newMovie = movie;
|
|
|
|
Movie newMovie = movie;
|
|
|
|
if (movie.TmdbId > 0)
|
|
|
|
if (movie.TmdbId > 0)
|
|
|
@ -763,5 +765,11 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
|
|
|
|
|
|
|
|
|
|
|
return newMovie;
|
|
|
|
return newMovie;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_logger.Warn(ex, "Couldn't map movie {0} to a movie on The Movie DB. It will not be added :(", movie.Title);
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|