Check language for null or empty instead of only null in MediaBrowser.Providers/MediaInfo/AudioResolver.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
d016d483ae
commit
bbf1399826
|
@ -123,7 +123,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
mediaStream.IsDefault = false;
|
||||
mediaStream.Title = null;
|
||||
|
||||
if (mediaStream.Language == null)
|
||||
if (string.IsNullOrEmpty(mediaStream.Language))
|
||||
{
|
||||
// Try to translate to three character code
|
||||
// Be flexible and check against both the full and three character versions
|
||||
|
|
Loading…
Reference in New Issue
Block a user