pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add 50 temporary sections to thumbnail scraper

mrjvs 3f9f072a c53dd741

+4 -1
+4 -1
src/components/player/internals/ThumbnailScraper.tsx
··· 88 88 89 89 // TODO make a queue based on refinement algorithm 90 90 91 - const queue = [0.5, 0, 1, 0.25, 0.75]; 91 + const sections = 50; 92 + const queue = Array(sections + 1) 93 + .fill(0) 94 + .map((_, i) => i / sections); 92 95 for (let i = 0; i < queue.length; i += 1) { 93 96 if (this.interrupted) return; 94 97 await this.takeSnapshot(vid.duration * queue[i]);