mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Fixed matching wrong movies from database when searching.
This commit is contained in:
parent
70c8228605
commit
6d5e9ad4a1
1 changed files with 11 additions and 1 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue