Fix ffmpeg detection
This commit is contained in:
parent
edc9344327
commit
c60e56828b
1 changed files with 1 additions and 0 deletions
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue