Skip to content

Commit

Permalink
Fix full video segments ending up in skip notices
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Nov 28, 2023
1 parent 5b614f5 commit 4766280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4766280

Please sign in to comment.