Make missing ffmpeg a fatal error. Closes #554

This commit is contained in:
Gabe Kangas 2021-01-01 17:01:36 -08:00
parent 1dc25889ec
commit 3c7997b75e

View File

@ -211,7 +211,7 @@ func (c *config) GetFFMpegPath() string {
cmd := exec.Command("which", "ffmpeg")
out, err := cmd.CombinedOutput()
if err != nil {
log.Debugln("Unable to determine path to ffmpeg. Please specify it in the config file.")
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.")
}
path := strings.TrimSpace(string(out))