mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 22:47:18 +03:00
Add more logging for catching skip issues
This commit is contained in:
@@ -276,6 +276,7 @@ function resetValues() {
|
|||||||
switchingVideos = false;
|
switchingVideos = false;
|
||||||
} else {
|
} else {
|
||||||
switchingVideos = true;
|
switchingVideos = true;
|
||||||
|
logDebug("Setting switching videos to true (reset data)");
|
||||||
}
|
}
|
||||||
|
|
||||||
firstEvent = true;
|
firstEvent = true;
|
||||||
@@ -677,6 +678,8 @@ function setupVideoListeners() {
|
|||||||
|
|
||||||
if (switchingVideos) {
|
if (switchingVideos) {
|
||||||
switchingVideos = false;
|
switchingVideos = false;
|
||||||
|
logDebug("Setting switching videos to false");
|
||||||
|
|
||||||
// If already segments loaded before video, retry to skip starting segments
|
// If already segments loaded before video, retry to skip starting segments
|
||||||
if (sponsorTimes) startSkipScheduleCheckingForStartSponsors();
|
if (sponsorTimes) startSkipScheduleCheckingForStartSponsors();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user