Fix ffmpeg detection
This commit is contained in:
@@ -85,6 +85,7 @@ func checkFfmpegInstallation() {
|
|||||||
path, err := exec.LookPath("ffmpeg")
|
path, err := exec.LookPath("ffmpeg")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
log.Debug("Found ffmpeg", "path", path)
|
log.Debug("Found ffmpeg", "path", path)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
log.Warn("Unable to find ffmpeg. Transcoding will fail if used", err)
|
log.Warn("Unable to find ffmpeg. Transcoding will fail if used", err)
|
||||||
if conf.Server.Scanner.Extractor == "ffmpeg" {
|
if conf.Server.Scanner.Extractor == "ffmpeg" {
|
||||||
|
|||||||
Reference in New Issue
Block a user