From f453080c25194d1371d19d0137cde3e0376d0b21 Mon Sep 17 00:00:00 2001 From: Sleeps Date: Wed, 7 Oct 2026 12:39:16 +0100 Subject: [PATCH] Ensure canonical DB exists before selection reconciliation --- scene_search/jellyfin_index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scene_search/jellyfin_index.py b/scene_search/jellyfin_index.py index 8fb45c9..ba17f22 100644 --- a/scene_search/jellyfin_index.py +++ b/scene_search/jellyfin_index.py @@ -454,6 +454,7 @@ def reconcile_selected_libraries( selected_library_ids: set[str], ) -> dict[str, object]: """Make the plugin/dashboard library selection authoritative locally.""" + init_db(settings.db_path) selected = { str(value).strip() for value in selected_library_ids