Fix `ffmpeg` detection

This commit is contained in:
Deluan 2020-10-12 10:59:42 -04:00
parent edc9344327
commit c60e56828b
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ func checkFfmpegInstallation() {
path, err := exec.LookPath("ffmpeg")
if err == nil {
log.Debug("Found ffmpeg", "path", path)
return
}
log.Warn("Unable to find ffmpeg. Transcoding will fail if used", err)
if conf.Server.Scanner.Extractor == "ffmpeg" {