From 4c3d572eb850c32a45ec9cbaf82688d45c1eebf4 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Tue, 24 Jun 2025 19:16:36 -0500 Subject: add ability to change out albums list during runtime --- immich.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'immich.py') diff --git a/immich.py b/immich.py index 0f319c5..8c4f3e6 100644 --- a/immich.py +++ b/immich.py @@ -54,7 +54,7 @@ class ImmichConnector: size = "preview" # TODO while True: texture_list, image_texture = self.texture_load_queue.get() - if not texture_list.index_in_cache_range(image_texture.asset_index): + if not texture_list.index_in_cache_range(image_texture.asset_index) or texture_list.void: continue # Texture was never loaded so it doesn't need to be free'd image_data, _ = self.load_image(image_texture.asset_key, size) image_texture.initialize(image_data) -- cgit v1.2.3