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

Closes #7157
pull/7171/head
Mark McDowall 6 months ago committed by Mark McDowall
parent 1584311914
commit 7f0696c574

@ -119,6 +119,8 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
{
ImportDecision decision = null;
try
{
var fileEpisodeInfo = Parser.Parser.ParsePath(localEpisode.Path);
localEpisode.FileEpisodeInfo = fileEpisodeInfo;
@ -128,8 +130,6 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
localEpisode.FileEpisodeInfo?.ReleaseType ??
ReleaseType.Unknown;
try
{
_aggregationService.Augment(localEpisode, downloadClientItem);
if (localEpisode.Episodes.Empty())

Loading…
Cancel
Save