[skip ci] update user agent, small locale fix

This commit is contained in:
Brahim Hadriche committed 2025-06-03 11:29:52 -04:00
1 parent e070fc2df1
commit 384f41ba99
5 files changed
+9 -6

No files matched your search

@@ -1,4 +1,5 @@
import "pkg:/components/Navigation/Navigation.bs"
import "pkg:/components/Services/Innertube/Constants.bs"
import "pkg:/components/VideoPlayerDev/PictureInPicture.bs"
import "pkg:/components/VideoPlayerDev/PlayerUi.bs"
import "pkg:/components/VideoQueue/VideoQueueUtils.bs"
@@ -15,9 +16,8 @@ import "pkg:/source/utils/Types.bs"
function Init()
InitializePlayerUi()
httpAgent = m.top.getHttpAgent()
httpAgent.AddHeader("User-Agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0")
httpAgent.AddHeader("User-Agent", VIDEO_PLAYER_USER_AGENT)
end function
function OnNodeReady()