Add visitor data (#545)
* Add visitor data * Tweak * Changelog * Do not load video details in video queue view
This commit is contained in:
1 parent
6f74ee61f6
commit
f8988e9d13
27 files changed
+178
-17
No files matched your search
@@ -5,6 +5,7 @@ import "pkg:/components/Services/Invidious/InvidiousService.bs"
|
||||
function VideoContentTask(input as object) as object
|
||||
contentNode = input.content
|
||||
invidiousNode = input.invidious
|
||||
innertubeNode = input.innertube
|
||||
preferencesNode = input.preferences
|
||||
loungeServiceNode = input.loungeService
|
||||
playletServerPort = input.playletServerPort
|
||||
@@ -22,8 +23,9 @@ function VideoContentTask(input as object) as object
|
||||
backend = preferencesNode["playback.backend"]
|
||||
if backend = "playlet"
|
||||
metadata = InnertubeService.GetVideoMetadata(contentNode.videoId, {
|
||||
cancellation: m.top.cancellation
|
||||
ctt: loungeServiceNode.ctt
|
||||
"cancellation": m.top.cancellation
|
||||
"ctt": loungeServiceNode.ctt
|
||||
"visitorData": innertubeNode.visitorData
|
||||
})
|
||||
else
|
||||
metadata = service.GetVideoMetadata(contentNode.videoId, { cancellation: m.top.cancellation })
|
||||
|
||||
Reference in new issue
Block a user