Playlist job system (#659)
This commit is contained in:
1 parent
a10f3df298
commit
b1e64427dd
12 files changed
+66
-74
No files matched your search
@@ -14,13 +14,13 @@ function ExecuteJob() as void
|
||||
return
|
||||
end if
|
||||
|
||||
cancallation = CancellationUtils.CreateCancellation(JobGetCallbackNode(), "cancel", true)
|
||||
cancellation = CancellationUtils.CreateCancellation(JobGetCallbackNode(), "cancel", true)
|
||||
service = new Invidious.InvidiousService(invidiousNode)
|
||||
|
||||
if subscribe
|
||||
response = service.Subscribe(ucid, cancallation)
|
||||
response = service.Subscribe(ucid, cancellation)
|
||||
else
|
||||
response = service.Unsubscribe(ucid, cancallation)
|
||||
response = service.Unsubscribe(ucid, cancellation)
|
||||
end if
|
||||
|
||||
if not response.IsSuccess()
|
||||
|
||||
Reference in new issue
Block a user