Strip file extension from scene title when scanning (#1022)

This commit is contained in:
bnkai
2021-01-07 02:38:30 +02:00
committed by GitHub
parent 4fc0d47087
commit 1882b44951
13 changed files with 39 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ func (t *GenerateScreenshotTask) Start(wg *sync.WaitGroup) {
defer wg.Done()
scenePath := t.Scene.Path
probeResult, err := ffmpeg.NewVideoFile(instance.FFProbePath, scenePath)
probeResult, err := ffmpeg.NewVideoFile(instance.FFProbePath, scenePath, false)
if err != nil {
logger.Error(err.Error())