From 23212b87809e0dec2d59d7641948ebb9ebf93a34 Mon Sep 17 00:00:00 2001 From: RXWatcher <14085001+RXWatcher@users.noreply.github.com> Date: Wed, 27 May 2026 09:19:48 +0200 Subject: [PATCH] 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. --- cmd/silo/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/silo/main.go b/cmd/silo/main.go index c8fea5c2..4acb3264 100644 --- a/cmd/silo/main.go +++ b/cmd/silo/main.go @@ -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)