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>
pull/6898/head
Jonas Resch 3 years ago committed by Jonas Resch
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…
Cancel
Save