diff --git a/src/NzbDrone.Core/MediaFiles/MovieImport/Aggregation/Aggregators/AggregateSubtitleInfo.cs b/src/NzbDrone.Core/MediaFiles/MovieImport/Aggregation/Aggregators/AggregateSubtitleInfo.cs index 77e090b9f..0e6a80a25 100644 --- a/src/NzbDrone.Core/MediaFiles/MovieImport/Aggregation/Aggregators/AggregateSubtitleInfo.cs +++ b/src/NzbDrone.Core/MediaFiles/MovieImport/Aggregation/Aggregators/AggregateSubtitleInfo.cs @@ -25,7 +25,7 @@ public LocalMovie Aggregate(LocalMovie localMovie, DownloadClientItem downloadCl var path = localMovie.Path; var isSubtitleFile = SubtitleFileExtensions.Extensions.Contains(Path.GetExtension(path)); - if (!isSubtitleFile) + if (!isSubtitleFile || localMovie.Movie == null) { return localMovie; } diff --git a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs index 0608c6e40..4d14c0620 100644 --- a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs +++ b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportApprovedMovie.cs @@ -151,6 +151,8 @@ public List Import(List decisions, bool newDownloa movieFile = _mediaFileService.Add(movieFile); importResults.Add(new ImportResult(importDecision)); + localMovie.Movie.MovieFile = movieFile; + if (newDownload) { if (localMovie.ScriptImported)