mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
DownloadMonitoringService should now not care about deleted movies. Fixes #131.
This commit is contained in:
parent
e76c160afe
commit
a0ecb19e32
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ public void Process(TrackedDownload trackedDownload, bool ignoreWarnings = false
|
|||
private void Import(TrackedDownload trackedDownload)
|
||||
{
|
||||
var outputPath = trackedDownload.DownloadItem.OutputPath.FullPath;
|
||||
if (trackedDownload.RemoteMovie.Movie != null)
|
||||
if (trackedDownload.RemoteMovie != null && trackedDownload.RemoteMovie.Movie != null)
|
||||
{
|
||||
var importResults = _downloadedMovieImportService.ProcessPath(outputPath, ImportMode.Auto, trackedDownload.RemoteMovie.Movie, trackedDownload.DownloadItem);
|
||||
|
||||
|
@ -159,7 +159,7 @@ private void Import(TrackedDownload trackedDownload)
|
|||
trackedDownload.Warn(statusMessages);
|
||||
}
|
||||
}
|
||||
else if (trackedDownload.RemoteEpisode.Series != null)
|
||||
else if (trackedDownload.RemoteEpisode != null && trackedDownload.RemoteEpisode.Series != null)
|
||||
{
|
||||
var importResults = _downloadedEpisodesImportService.ProcessPath(outputPath, ImportMode.Auto, trackedDownload.RemoteEpisode.Series, trackedDownload.DownloadItem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue