mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-20 01:42:35 +01:00
Fixed: Failing to import any file for movie if one has bad encoding
(cherry picked from commit 7f0696c57497ada845a40f7b5f80ace31ec1527f) Closes #10389
This commit is contained in:
parent
229e87f398
commit
a3faa9ed5f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user