mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
Fixed: Reprocessing multi-language file in Manual Import
This commit is contained in:
parent
16e5ffa467
commit
ee0048c768
@ -49,7 +49,7 @@ public object ReprocessItems([FromBody] List<ManualImportReprocessResource> item
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user