diff options
author | Ajay <[email protected]> | 2023-11-28 01:06:49 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-11-28 01:06:49 -0500 |
commit | 47662808a399b69cfab829849f2fea1e1303eb93 (patch) | |
tree | 30f8db1e8f7bf8631f2a946e84ce2bac1a9bf431 | |
parent | 5b614f5dee6a74f90d031ba20323fed62e7c05b8 (diff) | |
download | SponsorBlock-47662808a399b69cfab829849f2fea1e1303eb93.tar.gz SponsorBlock-47662808a399b69cfab829849f2fea1e1303eb93.zip |
Fix full video segments ending up in skip notices
-rw-r--r-- | src/content.ts | 3 |
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, |