mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
@@ -18,7 +18,7 @@ type GenerateScreenshotTask struct {
|
||||
txnManager models.TransactionManager
|
||||
}
|
||||
|
||||
func (t *GenerateScreenshotTask) Start() {
|
||||
func (t *GenerateScreenshotTask) Start(ctx context.Context) {
|
||||
scenePath := t.Scene.Path
|
||||
ffprobe := instance.FFProbe
|
||||
probeResult, err := ffprobe.NewVideoFile(scenePath, false)
|
||||
|
||||
Reference in New Issue
Block a user