Fixed: Failing to import any file for movie if one has bad encoding

(cherry picked from commit 7f0696c57497ada845a40f7b5f80ace31ec1527f)

Closes #10389
pull/10384/head
Mark McDowall 2 months ago committed by Bogdan
parent 229e87f398
commit a3faa9ed5f

@ -117,13 +117,13 @@ namespace NzbDrone.Core.MediaFiles.MovieImport
{
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)

Loading…
Cancel
Save