youtube icon indicating copy to clipboard operation
youtube copied to clipboard

🐞Smart Speed Engine doesn't work on videos with no "troughs" or "peaks"

Open cjshrader opened this issue 5 months ago • 5 comments

Bug Report:

  • Description: When using Smart Speed Engine it will only work on videos that have troughs or peaks defined. A newer video will not have these, so it does nothing. I would expect it instead to respect my minimum trough value still.
  • Steps to reproduce this: Find a new video on YouTube and take open it up. Here are my settings:
Image

And here is an example video, but it will probably have that data when someone looks at it: https://www.youtube.com/watch?v=VPDAm5YsQ1s&t=9s

Here is what that video looks like to me:

Image

Compare to a more established video which works just fine:

Image
  • Since when?: Today is my first day using the feature
  • Browser: Chrome
  • Are any errors shown in the Browser-Console?:
Image
  • Does the bug not happen when you log out of YouTube? Then please copy your experiment flags list twice _(with & without the error to compare). Enter: This is not related to being logged in to youtube.
please check, if the issue has already been reported ever. (If so, that might inspires you to add different/better words to that report.)

GitHub's issue search (use the link or remove "is:issue is:open" from the search)

  • Expected preferred behavior: As mentioned, I think it should with my settings always be at 2x speed if there's no heatmap. I know there is a permanent speed feature too, but it does not allow you to whitelist certain channels, which is what I want to do here.
  • ImprovedTube Version (Written in the Extension header & your Browser's store)
  • Tested as only active extension or in incognito mode?:
  • Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings (You can remove any Blocklist, History Analyzer data - or paste the following in the Browser-Console and hit enter: (function({analyzer, blocklist, ...a}){return JSON.stringify(a)})(ImprovedTube.storage) )
  • YouTube-Document: (F12 copy the whole root element: <html> (alternative: CTRL+U) (https://github.com/code-charity/youtube/wiki/Contributing#Test )
  • OS / Device:

cjshrader avatar Jun 12 '26 17:06 cjshrader

Hey.

Added a PR fixing the issue.

viralion avatar Jul 25 '26 21:07 viralion

Thanks! The reality is maybe I'm not using this how it's meant to be used and really my request would be to add a whitelist to the other speed up feature, but really I just want some videos from some channels at 2x speed and other videos from other channels at normal speed. I think I can make this do that with this improvement.

cjshrader avatar Jul 25 '26 21:07 cjshrader

Yeah. I get it. Tho this actually would fit my watching style. I usually watch everything at 1.5, but also speed up "boring" parts. And this would allow me to actually do that. Cause videos without heat map were "blocking" me.

Right now I'm using this my build as temporary extension. I'd love to see that in official build to not need to load temp extension every time.

viralion avatar Jul 26 '26 18:07 viralion

@ImprovedTube2

viralion avatar Jul 26 '26 19:07 viralion

thank you @mjaroszek @cjshrader welcome to the team

#3628 started thanks to @AryaXDG

ImprovedTube2 avatar Jul 29 '26 08:07 ImprovedTube2