From ee0048c768f3c12c10bbb0a3cb3221ebe3c95e5c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 14 Jan 2024 09:55:37 -0800 Subject: [PATCH] Fixed: Reprocessing multi-language file in Manual Import --- src/Sonarr.Api.V3/ManualImport/ManualImportController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sonarr.Api.V3/ManualImport/ManualImportController.cs b/src/Sonarr.Api.V3/ManualImport/ManualImportController.cs index bb7b77258..65b7f3bf1 100644 --- a/src/Sonarr.Api.V3/ManualImport/ManualImportController.cs +++ b/src/Sonarr.Api.V3/ManualImport/ManualImportController.cs @@ -49,7 +49,7 @@ namespace Sonarr.Api.V3.ManualImport // Only set the language/quality if they're unknown and languages were returned. // Languages won't be returned when reprocessing if the season/episode isn't filled in yet and we don't want to return no languages to the client. - if ((item.Languages.SingleOrDefault() ?? Language.Unknown) == Language.Unknown && processedItem.Languages.Any()) + if (item.Languages.Count <= 1 && (item.Languages.SingleOrDefault() ?? Language.Unknown) == Language.Unknown && processedItem.Languages.Any()) { item.Languages = processedItem.Languages; }