diff --git a/src/routes/getBranding.ts b/src/routes/getBranding.ts index be8b4bb..23d220d 100644 --- a/src/routes/getBranding.ts +++ b/src/routes/getBranding.ts @@ -107,7 +107,7 @@ export async function getVideoBrandingByHash(videoHashPrefix: VideoIDHash, servi const getSegments = () => db.prepare( "all", `SELECT "videoID", "startTime", "endTime", "videoDuration" FROM "sponsorTimes" - WHERE "votes" >= 0 AND "shadowHidden" = 0 AND "hidden" = 0 AND "actionType" = 'skip' AND "hashedVideoID" LIKE ? AND "service" = ?`, + WHERE "votes" > -2 AND "shadowHidden" = 0 AND "hidden" = 0 AND "actionType" = 'skip' AND "hashedVideoID" LIKE ? AND "service" = ?`, [`${videoHashPrefix}%`, service], { useReplica: true } ) as Promise;