mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-22 16:51:39 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue