1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Fix net import sync - title won't exist until movie mapped

This commit is contained in:
ta264 2020-05-17 14:19:41 +01:00 committed by Qstick
parent c8a2af867e
commit 4a5012f98e

View File

@ -351,6 +351,8 @@ public bool MovieExists(Movie movie)
} }
} }
if (movie.Title.IsNotNullOrWhiteSpace())
{
if (movie.Year > 1850) if (movie.Year > 1850)
{ {
result = FindByTitle(movie.Title.CleanSeriesTitle(), movie.Year); result = FindByTitle(movie.Title.CleanSeriesTitle(), movie.Year);
@ -367,6 +369,7 @@ public bool MovieExists(Movie movie)
return true; return true;
} }
} }
}
return false; return false;
} }