Handle bad funscript at values (#3182)

This commit is contained in:
WithoutPants
2022-11-25 08:20:23 +11:00
committed by GitHub
parent 27998c35a1
commit f0a3a3dd44
3 changed files with 34 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ func (t *GenerateInteractiveHeatmapSpeedTask) Start(ctx context.Context) {
funscriptPath := video.GetFunscriptPath(t.Scene.Path)
heatmapPath := instance.Paths.Scene.GetInteractiveHeatmapPath(videoChecksum)
generator := NewInteractiveHeatmapSpeedGenerator(funscriptPath, heatmapPath)
generator := NewInteractiveHeatmapSpeedGenerator(funscriptPath, heatmapPath, t.Scene.Files.Primary().Duration)
err := generator.Generate()