Add more logging for catching skip issues

This commit is contained in:
Ajay
2022-05-23 01:14:46 -04:00
parent 4182595436
commit 61535fac95

View File

@@ -276,6 +276,7 @@ function resetValues() {
switchingVideos = false;
} else {
switchingVideos = true;
logDebug("Setting switching videos to true (reset data)");
}
firstEvent = true;
@@ -677,6 +678,8 @@ function setupVideoListeners() {
if (switchingVideos) {
switchingVideos = false;
logDebug("Setting switching videos to false");
// If already segments loaded before video, retry to skip starting segments
if (sponsorTimes) startSkipScheduleCheckingForStartSponsors();
}