Change fallback extractor to taglib, the default option
This commit is contained in:
parent
876dda83f2
commit
91325071a6
1 changed files with 2 additions and 2 deletions
|
|
@ -28,9 +28,9 @@ func Extract(files ...string) (map[string]*Tags, error) {
|
||||||
case "ffmpeg":
|
case "ffmpeg":
|
||||||
e = &ffmpegExtractor{}
|
e = &ffmpegExtractor{}
|
||||||
default:
|
default:
|
||||||
log.Warn("Invalid Scanner.Extractor option. Using default ffmpeg", "requested", conf.Server.Scanner.Extractor,
|
log.Warn("Invalid Scanner.Extractor option. Using default taglib", "requested", conf.Server.Scanner.Extractor,
|
||||||
"validOptions", "ffmpeg,taglib")
|
"validOptions", "ffmpeg,taglib")
|
||||||
e = &ffmpegExtractor{}
|
e = &taglibExtractor{}
|
||||||
}
|
}
|
||||||
return e.Extract(files...)
|
return e.Extract(files...)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue