Remove code branch where web app sends metadata
This commit is contained in:
1 parent
d09facc9ff
commit
e7cce7e71b
2 files changed
-6
No files matched your search
@@ -33,8 +33,6 @@ function ExecuteJob() as void
|
|||||||
service = new Invidious.InvidiousService(invidiousNode)
|
service = new Invidious.InvidiousService(invidiousNode)
|
||||||
backend = preferencesNode["backend.selected"]
|
backend = preferencesNode["backend.selected"]
|
||||||
|
|
||||||
metadata = contentNode.metadata
|
|
||||||
if not IsAssociativeArray(metadata)
|
|
||||||
cancellation = JobGetCancellation()
|
cancellation = JobGetCancellation()
|
||||||
if backend = "playlet"
|
if backend = "playlet"
|
||||||
|
|
||||||
@@ -85,7 +83,6 @@ function ExecuteJob() as void
|
|||||||
else
|
else
|
||||||
metadata = service.GetVideoMetadata(contentNode.videoId, { cancellation: m.top.cancellation })
|
metadata = service.GetVideoMetadata(contentNode.videoId, { cancellation: m.top.cancellation })
|
||||||
end if
|
end if
|
||||||
end if
|
|
||||||
|
|
||||||
if JobIsCancelled()
|
if JobIsCancelled()
|
||||||
JobCancel()
|
JobCancel()
|
||||||
|
|||||||
@@ -91,9 +91,6 @@ namespace Http
|
|||||||
instance = m.invidiousService.GetInstance()
|
instance = m.invidiousService.GetInstance()
|
||||||
|
|
||||||
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
||||||
if IsAssociativeArray(payload.metadata)
|
|
||||||
contentNode.addFields({ metadata: payload.metadata })
|
|
||||||
end if
|
|
||||||
|
|
||||||
nodeType = contentNode.type
|
nodeType = contentNode.type
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user