Immich 1.106.1+
Enabled fitler to fetch only assets that are not in any album
This commit is contained in:
parent
5618dd3b6f
commit
0b476ce230
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue