Skip to content

Commit

Permalink
update audio language selection
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed May 15, 2018
1 parent 389e387 commit c29b4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emby.Server.Implementations/Library/MediaSourceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private void SetDefaultAudioStreamIndex(MediaSourceInfo source, UserItemData use

var preferredAudio = string.IsNullOrEmpty(user.Configuration.AudioLanguagePreference)
? Array.Empty<string>()
: NormalizeLanguage(user.Configuration.SubtitleLanguagePreference);
: NormalizeLanguage(user.Configuration.AudioLanguagePreference);

source.DefaultAudioStreamIndex = MediaStreamSelector.GetDefaultAudioStreamIndex(source.MediaStreams, preferredAudio, user.Configuration.PlayDefaultAudioTrack);
}
Expand Down

0 comments on commit c29b4a8

Please sign in to comment.