We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698bb31 commit 820264eCopy full SHA for 820264e
src/renderer/helpers/sponsorblock.js
@@ -11,7 +11,7 @@ async function getVideoHash(videoId) {
11
.join('')
12
}
13
export async function sponsorBlockSkipSegments(videoId, categories) {
14
- const videoIdHashPrefix = await getVideoHash(videoId)
+ const videoIdHashPrefix = (await getVideoHash(videoId)).substring(0, 4)
15
const requestUrl = `${store.getters.getSponsorBlockUrl}/api/skipSegments/${videoIdHashPrefix}?categories=${JSON.stringify(categories)}`
16
17
try {
0 commit comments