diff --git a/Common/Immich Album Watcher/blueprint.yaml b/Common/Immich Album Watcher/blueprint.yaml index 95d37d6..d2aa6ec 100644 --- a/Common/Immich Album Watcher/blueprint.yaml +++ b/Common/Immich Album Watcher/blueprint.yaml @@ -1407,7 +1407,7 @@ action: all_fetched_assets: [] # Calculate per-album limit (use floor division for even distribution, minimum 1) album_count: "{{ album_id_entities | length }}" - per_album_limit: "{{ [(scheduled_assets_limit | int // album_count | int), 1] | max if album_count | int > 0 else scheduled_assets_limit | int }}" + per_album_limit: "{{ [((scheduled_assets_limit | int) // (album_count | int)), 1] | max if album_count | int > 0 else scheduled_assets_limit | int }}" # Fetch assets from each album with distributed limit - repeat: diff --git a/manifest.json b/manifest.json index 243b20a..1309f47 100644 --- a/manifest.json +++ b/manifest.json @@ -1,3 +1,3 @@ { - "version": "1.22.5" + "version": "1.22.6" }