Skip to content

fix(player): default Smart Speed to minimal speed when no heatmap data available (#3962) - #4235

Merged
ImprovedTube2 merged 1 commit into
code-charity:masterfrom
mjaroszek:fix/issue-3962-smart-speed-when-no-heatmap
Jul 29, 2026
Merged

fix(player): default Smart Speed to minimal speed when no heatmap data available (#3962)#4235
ImprovedTube2 merged 1 commit into
code-charity:masterfrom
mjaroszek:fix/issue-3962-smart-speed-when-no-heatmap

Conversation

@mjaroszek

Copy link
Copy Markdown
Contributor

Closes #3962

When a video has no YouTube heatmap engagement data, Smart Speed now applies the configured smart_speed_min multiplier instead of remaining inactive at 1.0x. Channel/genre whitelist is still respected.

  • Add applyNoHeatmapSpeed() helper for shared fallback logic
  • Trigger no-heatmap fallback from getData() after all sources exhausted
  • Apply minimal speed in processSegments() when rawMarkers is empty
  • Re-apply minimal speed when toggling Smart Speed back on via indicator

…a available (code-charity#3962)

When a video has no YouTube heatmap engagement data, Smart Speed now
applies the configured smart_speed_min multiplier instead of remaining
inactive at 1.0x. Channel/genre whitelist is still respected.

- Add applyNoHeatmapSpeed() helper for shared fallback logic
- Trigger no-heatmap fallback from getData() after all sources exhausted
- Apply minimal speed in processSegments() when rawMarkers is empty
- Re-apply minimal speed when toggling Smart Speed back on via indicator
@ImprovedTube2
ImprovedTube2 merged commit eedac63 into code-charity:master Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants