From a3faa9ed5fe1514c2d001a8300c0e8fcfdc62c8c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 31 Aug 2024 15:00:35 -0700 Subject: [PATCH] Fixed: Failing to import any file for movie if one has bad encoding (cherry picked from commit 7f0696c57497ada845a40f7b5f80ace31ec1527f) Closes #10389 --- .../MediaFiles/MovieImport/ImportDecisionMaker.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportDecisionMaker.cs b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportDecisionMaker.cs index 03567b7ea..33028a76a 100644 --- a/src/NzbDrone.Core/MediaFiles/MovieImport/ImportDecisionMaker.cs +++ b/src/NzbDrone.Core/MediaFiles/MovieImport/ImportDecisionMaker.cs @@ -117,13 +117,13 @@ private ImportDecision GetDecision(LocalMovie localMovie, DownloadClientItem dow { ImportDecision decision = null; - var fileMovieInfo = Parser.Parser.ParseMoviePath(localMovie.Path); - - localMovie.FileMovieInfo = fileMovieInfo; - localMovie.Size = _diskProvider.GetFileSize(localMovie.Path); - try { + var fileMovieInfo = Parser.Parser.ParseMoviePath(localMovie.Path); + + localMovie.FileMovieInfo = fileMovieInfo; + localMovie.Size = _diskProvider.GetFileSize(localMovie.Path); + _aggregationService.Augment(localMovie, downloadClientItem); if (localMovie.Movie == null)