summaryrefslogtreecommitdiff
path: root/immich.py
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-06-24 19:16:36 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-06-24 19:16:36 -0500
commit4c3d572eb850c32a45ec9cbaf82688d45c1eebf4 (patch)
treec46c5e7f7d837b548b9e7afe597bc047ba9e0f68 /immich.py
parent2f03f39e24053377dce108e45fde13ccd1e0ae22 (diff)
downloadimmich-frame-4c3d572eb850c32a45ec9cbaf82688d45c1eebf4.tar.xz
immich-frame-4c3d572eb850c32a45ec9cbaf82688d45c1eebf4.zip
add ability to change out albums list during runtime
Diffstat (limited to 'immich.py')
-rw-r--r--immich.py2
1 files changed, 1 insertions, 1 deletions
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)