Require matching Jellyfin media source before restoring AI metadata

This commit is contained in:
Sleeps
2026-10-07 12:35:37 +01:00
parent 043630754c
commit 037ab1bba7
+2
View File
@@ -747,6 +747,8 @@ def _index_library(
and str(existing["source_path"] or "") == source_path_text
and int(existing["size_bytes"] or 0) == size_bytes
and str(existing["model_id"] or "") == settings.model_id
and str(existing["jellyfin_media_source_id"] or "")
== str(media_source_id or "")
and str(existing["jellyfin_tags"] or "") == tags_json
):
annotations = _load_frame_annotations(str(existing["id"]))