Fix SponsorBlock segments where video duration is not provided (#102)

* Fix SponsorBlock segments where video duration is not provided

* add another null check
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-07-04 15:21:19 -04:00
1 parent 936eefeeb9
commit a224b86fca
5 files changed
+28 -21

No files matched your search

@@ -153,6 +153,8 @@ function OnVideoDetailsTaskResults(output as object) as void
m.top.control = "play"
m.videoContainer@.watchedVideosAdd(videoId)
StartSponsorBlockTask()
end function
function AddDashUrls(playletStreamUrls as object, metadata as object, settings as object) as void