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)
|
||||
backend = preferencesNode["backend.selected"]
|
||||
|
||||
metadata = contentNode.metadata
|
||||
if not IsAssociativeArray(metadata)
|
||||
cancellation = JobGetCancellation()
|
||||
if backend = "playlet"
|
||||
|
||||
@@ -85,7 +83,6 @@ function ExecuteJob() as void
|
||||
else
|
||||
metadata = service.GetVideoMetadata(contentNode.videoId, { cancellation: m.top.cancellation })
|
||||
end if
|
||||
end if
|
||||
|
||||
if JobIsCancelled()
|
||||
JobCancel()
|
||||
|
||||
@@ -91,9 +91,6 @@ namespace Http
|
||||
instance = m.invidiousService.GetInstance()
|
||||
|
||||
contentNode = InvidiousContent.ToRowCellContentNode(payload, instance)
|
||||
if IsAssociativeArray(payload.metadata)
|
||||
contentNode.addFields({ metadata: payload.metadata })
|
||||
end if
|
||||
|
||||
nodeType = contentNode.type
|
||||
|
||||
|
||||
Reference in new issue
Block a user