mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Look at -1 votes for branding sb segments
This commit is contained in:
parent
93f4cfd82d
commit
808066a5ed
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export async function getVideoBranding(res: Response, videoID: VideoID, service:
|
|||
const getSegments = () => db.prepare(
|
||||
"all",
|
||||
`SELECT "startTime", "endTime", "videoDuration" FROM "sponsorTimes"
|
||||
WHERE "votes" >= 0 AND "shadowHidden" = 0 AND "hidden" = 0 AND "actionType" = 'skip' AND "videoID" = ? AND "service" = ?`,
|
||||
WHERE "votes" > -2 AND "shadowHidden" = 0 AND "hidden" = 0 AND "actionType" = 'skip' AND "videoID" = ? AND "service" = ?`,
|
||||
[videoID, service],
|
||||
{ useReplica: true }
|
||||
) as Promise<BrandingSegmentDBResult[]>;
|
||||
|
|
Loading…
Reference in a new issue