FFMPEG auto download

This commit is contained in:
Stash Dev
2019-02-10 22:39:21 -08:00
parent 57307bfd01
commit 2565173105
16 changed files with 394 additions and 232 deletions

View File

@@ -21,7 +21,7 @@ func (t *GeneratePreviewTask) Start(wg *sync.WaitGroup) {
return
}
videoFile, err := ffmpeg.NewVideoFile(instance.Paths.FixedPaths.FFProbe, t.Scene.Path)
videoFile, err := ffmpeg.NewVideoFile(instance.StaticPaths.FFProbe, t.Scene.Path)
if err != nil {
logger.Errorf("error reading video file: %s", err.Error())
return