mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fix full video segments ending up in skip notices
This commit is contained in:
parent
5b614f5dee
commit
47662808a3
1 changed files with 2 additions and 1 deletions
|
@ -1554,7 +1554,8 @@ function getStartTimes(sponsorTimes: SponsorTime[], includeIntersectingSegments:
|
||||||
&& segment.segment[1] > minimum && shouldSkip(segment)))) // Only include intersecting skippable segments
|
&& segment.segment[1] > minimum && shouldSkip(segment)))) // Only include intersecting skippable segments
|
||||||
&& (!hideHiddenSponsors || segment.hidden === SponsorHideType.Visible)
|
&& (!hideHiddenSponsors || segment.hidden === SponsorHideType.Visible)
|
||||||
&& segment.segment.length === 2
|
&& segment.segment.length === 2
|
||||||
&& segment.actionType !== ActionType.Poi;
|
&& segment.actionType !== ActionType.Poi
|
||||||
|
&& segment.actionType !== ActionType.Full;
|
||||||
|
|
||||||
const possibleTimes = sponsorTimes.map((sponsorTime) => ({
|
const possibleTimes = sponsorTimes.map((sponsorTime) => ({
|
||||||
...sponsorTime,
|
...sponsorTime,
|
||||||
|
|
Loading…
Reference in a new issue