mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-20 00:33:36 +00:00
Ensure canonical DB exists before selection reconciliation
This commit is contained in:
@@ -454,6 +454,7 @@ def reconcile_selected_libraries(
|
|||||||
selected_library_ids: set[str],
|
selected_library_ids: set[str],
|
||||||
) -> dict[str, object]:
|
) -> dict[str, object]:
|
||||||
"""Make the plugin/dashboard library selection authoritative locally."""
|
"""Make the plugin/dashboard library selection authoritative locally."""
|
||||||
|
init_db(settings.db_path)
|
||||||
selected = {
|
selected = {
|
||||||
str(value).strip()
|
str(value).strip()
|
||||||
for value in selected_library_ids
|
for value in selected_library_ids
|
||||||
|
|||||||
Reference in New Issue
Block a user