From 61535fac953020e1ccca556b9fde80172ecd06d4 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 23 May 2022 01:14:46 -0400 Subject: [PATCH] Add more logging for catching skip issues --- src/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content.ts b/src/content.ts index 7788c0f4..a203582a 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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(); }