mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
Fix net import sync - title won't exist until movie mapped
This commit is contained in:
parent
c8a2af867e
commit
4a5012f98e
@ -351,20 +351,23 @@ public bool MovieExists(Movie movie)
|
||||
}
|
||||
}
|
||||
|
||||
if (movie.Year > 1850)
|
||||
if (movie.Title.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
result = FindByTitle(movie.Title.CleanSeriesTitle(), movie.Year);
|
||||
if (result != null)
|
||||
if (movie.Year > 1850)
|
||||
{
|
||||
return true;
|
||||
result = FindByTitle(movie.Title.CleanSeriesTitle(), movie.Year);
|
||||
if (result != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result = FindByTitle(movie.Title.CleanSeriesTitle());
|
||||
if (result != null)
|
||||
else
|
||||
{
|
||||
return true;
|
||||
result = FindByTitle(movie.Title.CleanSeriesTitle());
|
||||
if (result != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user