Overview
When both --size medium and --size thumb are specified with --force-size, but only the thumb-size asset exists for a photo, both sizes will be skipped.
Steps to Reproduce
- Upload a small image to iCloud Photos, such that the medium-size asset exists but thumb-size does not. (e.g. a 200*250 heic file)
- Execute
icloudpd -d syncdir --size medium --size thumb --force-size.
Expected Behavior
The medium-size asset should be skipped and the thumb-size asset should be downloaded.
Actual Behavior
Both medium-size and thumb-size assets are skipped.
Context
Changing this to continue should be a simple fix.
I would be glad to issue a PR if you consider this appropriate.
Overview
When both
--size mediumand--size thumbare specified with--force-size, but only the thumb-size asset exists for a photo, both sizes will be skipped.Steps to Reproduce
icloudpd -d syncdir --size medium --size thumb --force-size.Expected Behavior
The medium-size asset should be skipped and the thumb-size asset should be downloaded.
Actual Behavior
Both medium-size and thumb-size assets are skipped.
Context
Changing this to
continueshould be a simple fix.icloud_photos_downloader/src/icloudpd/base.py
Line 896 in 6e9c6c6
I would be glad to issue a PR if you consider this appropriate.