mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
If this does not fix stuff with no history, I have no clue anymore.
This commit is contained in:
parent
f481fe9ea9
commit
ca03f21b03
1 changed files with 16 additions and 0 deletions
|
@ -156,6 +156,22 @@ public void Process(TrackedDownload trackedDownload, bool ignoreWarnings = false
|
|||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (movie.MovieFile != null)
|
||||
{
|
||||
movie.MovieFile.LazyLoad();
|
||||
if (movie.MovieFile.Value != null)
|
||||
{
|
||||
_logger.Debug("File Title: {0}, download item title: {1}", Parser.Parser.CleanSeriesTitle(movie.MovieFile.Value.RelativePath), Parser.Parser.CleanSeriesTitle(trackedDownload.DownloadItem.Title));
|
||||
if (Parser.Parser.CleanSeriesTitle(movie.MovieFile.Value.RelativePath).Contains(Parser.Parser.CleanSeriesTitle(trackedDownload.DownloadItem.Title)))
|
||||
{
|
||||
trackedDownload.Warn("Seems like the movie already has a file associated with this download item. Maybe the History failed?");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//trackedDownload.Warn("Series title mismatch, automatic import is not possible.");
|
||||
//return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue