diff --git a/immich_auto_album.py b/immich_auto_album.py index 89f651c..b785fd7 100644 --- a/immich_auto_album.py +++ b/immich_auto_album.py @@ -207,7 +207,7 @@ def fetchAssetsMinorV106(): assets = [] # prepare request body body = {} - #body['isNotInAlbum'] = 'false' + body['isNotInAlbum'] = 'true' # This API call allows a maximum page size of 1000 number_of_assets_to_fetch_per_request_search = min(1000, number_of_assets_to_fetch_per_request) body['size'] = number_of_assets_to_fetch_per_request_search