steilerDev/icloud-photos-sync

Limit of 198 albums

Closed this issue · 3 comments

Checklist before opening an issue

Describe the bug

No matter what, the sync only creates 198 albums in the file structure. If I remove two albums from my library on the server, for instance, the next two will be created on the next sync (and 2 removed from local filesystem).

Error code

DEBUG Sync-Engine: Adding 0 remote entities, removing 0 local entities, keeping 198 local entities

Logs

DEBUG Sync-Engine: Adding 0 remote entities, removing 0 local entities, keeping 198 local entities

Operating environment

  • OS: Synology DSM
  • Version: 1.1.1-beta.3
  • Execution environment: docker

Just checking the docs, I see the note:

In order to test the split of queries, we need at least 200 pictures in our test environment.

Also the code line:
export const MAX_RECORDS_LIMIT = 198;

I assume this has something to do with the albums issue. Perhaps creating 200 albums in the test environment would be useful to test this limit as well.

Note: sorry, had to report with correct account :)

I will probably address this deficiency with #354 - don't want to touch that part of the code given that I most likely will rework the whole logic very soon.

Closing this in favour of #364