mirror of
https://github.com/Radarr/Radarr
synced 2025-12-15 04:45:37 +01:00
parent
40dc808f61
commit
4890972e16
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ public class LanguageSpecification : CustomFormatSpecificationBase
|
|||
|
||||
protected override bool IsSatisfiedByWithoutNegate(ParsedMovieInfo movieInfo)
|
||||
{
|
||||
var comparedLanguage = movieInfo != null && Name == "Original" && movieInfo.ExtraInfo.ContainsKey("OriginalLanguage")
|
||||
var comparedLanguage = movieInfo != null && movieInfo.ExtraInfo.ContainsKey("OriginalLanguage")
|
||||
? (Language)movieInfo.ExtraInfo["OriginalLanguage"]
|
||||
: (Language)Value;
|
||||
return movieInfo?.Languages?.Contains(comparedLanguage) ?? false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue