mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
print message when recreating images for the scan process
This commit is contained in:
@@ -164,13 +164,14 @@ func (t *ScanTask) makeScreenshots(probeResult *ffmpeg.VideoFile, checksum strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
if probeResult == nil {
|
if probeResult == nil {
|
||||||
var err error
|
var err error
|
||||||
probeResult, err = ffmpeg.NewVideoFile(instance.FFProbePath, t.FilePath)
|
probeResult, err = ffmpeg.NewVideoFile(instance.FFProbePath, t.FilePath)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error(err.Error())
|
logger.Error(err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
logger.Infof("Regenerating images for %s", t.FilePath)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !thumbExists {
|
if !thumbExists {
|
||||||
|
|||||||
Reference in New Issue
Block a user