[codex] feat(jellycompat): use catalog search provider (#236)

* feat(jellycompat): use catalog search provider

* fix(jellycompat): route video search buckets to provider
This commit is contained in:
Quick
2026-06-27 20:10:48 -04:00
committed by GitHub
parent 4d2a990de1
commit a0fbe2cdda
13 changed files with 442 additions and 37 deletions
+11
View File
@@ -2185,6 +2185,17 @@ func main() {
compatDeps.WatchCompletionObserver = deps.WatchCompletionObserver
compatDeps.SettingsRepo = settingsRepo
compatDeps.PersonRepo = personRepo
compatSearchService := catalog.NewCatalogSearchService(
appCtx,
settingsRepo,
itemRepo,
catalog.NewSearchIndexEventRepository(deps.DB),
deps.CatalogSearchVectorizer,
)
if compatSearchService != nil {
compatSearchService.StartCoverageRefresh(appCtx)
compatDeps.CatalogSearchProvider = compatSearchService.Provider()
}
if deps.S3Public != nil {
compatDeps.PosterPresigner = deps.S3Public