Add /video/id/set_timestamp handler, timestamp in video HTML

This commit is contained in:
Carl Pearson
2025-05-01 05:33:22 -06:00
parent 14adf10c68
commit 010c6bd191
5 changed files with 70 additions and 8 deletions

View File

@@ -144,6 +144,7 @@ func main() {
e.GET("/temp/:token", tempHandler)
e.POST("/video/:id/process", processHandler, handlers.AuthMiddleware)
e.POST("/video/:id/toggle_watched", handlers.ToggleWatched, handlers.AuthMiddleware)
e.POST("/video/:id/set_timestamp", handlers.SetTimestamp, handlers.AuthMiddleware)
e.POST("/delete_video/:id", deleteVideoHandler, handlers.AuthMiddleware)
e.POST("/delete_audio/:id", deleteAudioHandler, handlers.AuthMiddleware)
e.POST("/transcode_to_video/:id", transcodeToVideoHandler, handlers.AuthMiddleware)