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
|
end function
|
||||||
|
|
||||||
function FindPreferredAudioStream(streams as dynamic) as integer
|
function FindPreferredAudioStream(streams as dynamic) as integer
|
||||||
preferredLanguage = m.global.userConfig.AudioLanguagePreference
|
preferredLanguage = m.user.Configuration.AudioLanguagePreference
|
||||||
playDefault = m.global.userConfig.PlayDefaultAudioTrack
|
playDefault = m.user.Configuration.PlayDefaultAudioTrack
|
||||||
|
|
||||||
if playDefault <> invalid and playDefault = true
|
if playDefault <> invalid and playDefault = true
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user