aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-11-28 01:06:49 -0500
committerAjay <[email protected]>2023-11-28 01:06:49 -0500
commit47662808a399b69cfab829849f2fea1e1303eb93 (patch)
tree30f8db1e8f7bf8631f2a946e84ce2bac1a9bf431
parent5b614f5dee6a74f90d031ba20323fed62e7c05b8 (diff)
downloadSponsorBlock-47662808a399b69cfab829849f2fea1e1303eb93.tar.gz
SponsorBlock-47662808a399b69cfab829849f2fea1e1303eb93.zip
Fix full video segments ending up in skip notices
-rw-r--r--src/content.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index b353fb85..8323b833 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -1554,7 +1554,8 @@ function getStartTimes(sponsorTimes: SponsorTime[], includeIntersectingSegments:
&& segment.segment[1] > minimum && shouldSkip(segment)))) // Only include intersecting skippable segments
&& (!hideHiddenSponsors || segment.hidden === SponsorHideType.Visible)
&& segment.segment.length === 2
- && segment.actionType !== ActionType.Poi;
+ && segment.actionType !== ActionType.Poi
+ && segment.actionType !== ActionType.Full;
const possibleTimes = sponsorTimes.map((sponsorTime) => ({
...sponsorTime,