mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed matching wrong movies from database when searching.
This commit is contained in:
@@ -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())
|
if (movie == null && imdbId.IsNotNullOrWhiteSpace())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user