mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
New: Use languages from Torznab/Newznab attributes if given
(cherry picked from commit 9c5a07f62a6e32832c10c80813cd3b98c5859989)
This commit is contained in:
parent
933c23ce57
commit
b7be2c1d6e
@ -31,7 +31,7 @@ public RemoteMovie Aggregate(RemoteMovie remoteMovie)
|
||||
{
|
||||
_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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user