New: Use languages from Torznab/Newznab attributes if given

(cherry picked from commit 9c5a07f62a6e32832c10c80813cd3b98c5859989)
pull/8516/head
Qstick 2 years ago committed by Bogdan
parent 933c23ce57
commit b7be2c1d6e

@ -31,7 +31,7 @@ namespace NzbDrone.Core.Download.Aggregation.Aggregators
{ {
_logger.Debug("Unable to aggregate languages, using parsed values: {0}", string.Join(", ", languages.ToList())); _logger.Debug("Unable to aggregate languages, using parsed values: {0}", string.Join(", ", languages.ToList()));
remoteMovie.Languages = releaseInfo?.Languages.Any() ?? false ? releaseInfo.Languages : languages; remoteMovie.Languages = releaseInfo != null && releaseInfo.Languages.Any() ? releaseInfo.Languages : languages;
return remoteMovie; return remoteMovie;
} }

Loading…
Cancel
Save