Skip to content

Commit

Permalink
Fix data lang not used by ytapi
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread committed Jul 21, 2024
1 parent 4335019 commit 566bfb3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ internal class SpMpYoutubeiApi(
context.coroutine_scope.launch {
user_auth_state = getCurrentUserAuthState()
}
context.coroutine_scope.launch {
_data_language = context.getDataLanguage()
println("DATA LANG SET TO $_data_language")
}
context.coroutine_scope.launch {
_VideoFormats = context.settings.streaming.VIDEO_FORMATS_METHOD.get().instantiate(this@SpMpYoutubeiApi)
}
Expand Down

0 comments on commit 566bfb3

Please sign in to comment.