Use m.user since we already have it.
This commit is contained in:
parent
c8dd7eab08
commit
ce9063859a
|
@ -391,8 +391,8 @@ function sortSubtitles(id as string, MediaStreams)
|
|||
end function
|
||||
|
||||
function FindPreferredAudioStream(streams as dynamic) as integer
|
||||
preferredLanguage = m.global.userConfig.AudioLanguagePreference
|
||||
playDefault = m.global.userConfig.PlayDefaultAudioTrack
|
||||
preferredLanguage = m.user.Configuration.AudioLanguagePreference
|
||||
playDefault = m.user.Configuration.PlayDefaultAudioTrack
|
||||
|
||||
if playDefault <> invalid and playDefault = true
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user