mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-18 11:06:38 +03:00
Warn if ffmpeg can't be found
This commit is contained in:
parent
09985453aa
commit
b34523e196
@ -16,6 +16,11 @@ type Transcoder interface {
|
||||
}
|
||||
|
||||
func New() Transcoder {
|
||||
path, err := exec.LookPath("ffmpeg")
|
||||
if err != nil {
|
||||
log.Error("Unable to find ffmpeg", err)
|
||||
}
|
||||
log.Debug("Found ffmpeg", "path", path)
|
||||
return &ffmpeg{}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user