Skip to content

When multiple sizes and --force-size are specified, some sizes can be skipped even if exist. #955

@iowk

Description

@iowk

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

  1. 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)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions