Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
1580bf5469
commit
2d5ed7cb95
|
@ -136,7 +136,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||||
var language = languageSpan.ToString();
|
var language = languageSpan.ToString();
|
||||||
var culture = _localization.FindLanguageInfo(language);
|
var culture = _localization.FindLanguageInfo(language);
|
||||||
|
|
||||||
language = culture != null ? culture.ThreeLetterISOLanguageName : language;
|
language = culture == null ? language : culture.ThreeLetterISOLanguageName;
|
||||||
|
|
||||||
mediaStream = new MediaStream
|
mediaStream = new MediaStream
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user