mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Add requiredSegments
@@ -27,9 +27,10 @@ ________________________________________________________________________________
|
||||
videoID: string,
|
||||
category: string, // Optional, defaults to "sponsor", can be repeated for multiple categories.
|
||||
// See https://github.com/ajayyy/SponsorBlock/wiki/Types#category
|
||||
|
||||
categories: string[], // Optional, use this instead of "category" if you want multiple categories. Will look like ["sponsor","intro"]
|
||||
|
||||
requiredSegments: string[], // Optional, list of segment UUIDs to require be retrieved, even if they don't meet the minimum vote threshold, can be replaced with "requiredSegment" and repeated for multiple segments like category.
|
||||
|
||||
service: string // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service
|
||||
}
|
||||
```
|
||||
@@ -59,9 +60,10 @@ __________________________________________________________________
|
||||
{
|
||||
category: string, // Optional, defaults to "sponsor", can be repeated for multiple categories.
|
||||
// See https://github.com/ajayyy/SponsorBlock/wiki/Types#category
|
||||
|
||||
categories: string[], // Optional, use this instead of "category" if you want multiple categories. Will look like ["sponsor","intro"]
|
||||
|
||||
requiredSegments: string[], // Optional, list of segment UUIDs to require be retrieved, even if they don't meet the minimum vote threshold, can be replaced with "requiredSegment" and repeated for multiple segments like category.
|
||||
|
||||
service: string // Optional, default is 'YouTube'. See https://github.com/ajayyy/SponsorBlock/wiki/Types#service
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user