Fixed matching wrong movies from database when searching.

pull/34/head
Leonardo Galli 8 years ago
parent 70c8228605
commit 6d5e9ad4a1

@ -387,7 +387,17 @@ namespace NzbDrone.Core.Parser
}
Movie movie = _movieService.FindByTitle(parsedEpisodeInfo.MovieTitle); //Todo: same as above!
Movie movie = null;
if (searchCriteria == null)
{
movie = _movieService.FindByTitle(parsedEpisodeInfo.MovieTitle); //Todo: same as above!
return movie;
}
if (movie == null && imdbId.IsNotNullOrWhiteSpace())
{

Loading…
Cancel
Save