From 6b6ca6198f7e043a29b9e408772a9c9b0db76973 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 16 Jan 2022 01:17:49 -0500 Subject: [PATCH] Don't schedule skips for full video segments --- src/content.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content.ts b/src/content.ts index 81ba097b..0d0aa132 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1395,8 +1395,9 @@ function shouldAutoSkip(segment: SponsorTime): boolean { } function shouldSkip(segment: SponsorTime): boolean { - return utils.getCategorySelection(segment.category)?.option !== CategorySkipOption.ShowOverlay || - (Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic")); + return (segment.actionType !== ActionType.Full + && utils.getCategorySelection(segment.category)?.option !== CategorySkipOption.ShowOverlay) + || (Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic")); } /** Creates any missing buttons on the YouTube player if possible. */