mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fix unsubmitted segments sometimes manual skipping if manual skip enabled for category
Fixes #2002
This commit is contained in:
parent
7b572c3c0e
commit
5b845a56e1
1 changed files with 2 additions and 1 deletions
|
@ -1808,7 +1808,8 @@ function shouldAutoSkip(segment: SponsorTime): boolean {
|
|||
return (!Config.config.manualSkipOnFullVideo || !sponsorTimes?.some((s) => s.category === segment.category && s.actionType === ActionType.Full))
|
||||
&& (utils.getCategorySelection(segment.category)?.option === CategorySkipOption.AutoSkip ||
|
||||
(Config.config.autoSkipOnMusicVideos && sponsorTimes?.some((s) => s.category === "music_offtopic")
|
||||
&& segment.actionType === ActionType.Skip));
|
||||
&& segment.actionType === ActionType.Skip)
|
||||
|| sponsorTimesSubmitting.some((s) => s.segment === segment.segment));
|
||||
}
|
||||
|
||||
function shouldSkip(segment: SponsorTime): boolean {
|
||||
|
|
Loading…
Reference in a new issue