wire(audiobooks): install enricher image cacher and ffmpeg path
Hooks the audiobook enricher into the existing lazy image-cacher install block so the deferred local-cover fallback has the bits it needs when S3Public is configured.
This commit is contained in:
@@ -841,6 +841,10 @@ func main() {
|
||||
personRefreshService.SetImageCacher(imageCacher)
|
||||
slog.Info("metadata image caching enabled")
|
||||
}
|
||||
if audiobookEnricher != nil {
|
||||
audiobookEnricher.SetImageCacher(imageCacher)
|
||||
audiobookEnricher.SetFFmpegPath(scanner.FFmpegPathFromFFprobe(scanner.FFprobePathFromFFmpeg(cfg.Playback.FFmpegPath)))
|
||||
}
|
||||
}
|
||||
|
||||
matchWorker = metadata.NewMatchWorker(metadataService, deps.FileRepo, cfg.Matcher.Workers, cfg.Matcher.BatchSize, 30*time.Second)
|
||||
|
||||
Reference in New Issue
Block a user