Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotate an image using an ios device create a duplicate photo on sync (original and rotated) #562

Open
4 tasks done
sms-ebarbeito opened this issue Aug 30, 2024 · 2 comments
Labels
class(improvement) Indicates work related to improve an existing feature status(investigating) Currently looking for the root cause of the issue

Comments

@sms-ebarbeito
Copy link

Describe the issue

Rotated photos (i think all edited photos) on my ios device duplicate on my linux machine using scripts.

How to reproduce the behavior?

  • Take a photo on IOS, then wait to sync with the docker.
  • Rotte the image using the ios function
  • When resync the image is duplicated on my linux machine (the original and the rotated one)

Error Code

no errors

Relevant log output

Nothing to show, only see two identical photos, one rotated and one original.

Operating system

Ubuntu 24.04

Execution environment

docker

icloud-photos-sync version

1.3.0

Checklist

@sms-ebarbeito sms-ebarbeito added class(bug) Something isn't working status(open) A new issue - not yet classified labels Aug 30, 2024
@steilerDev
Copy link
Owner

Hey @sms-ebarbeito - I think this is expected. The original picture is the master record held by iCloud, any edit to the photo will be stored as the current 'edited' state. It seems it does not matter if you are actually editing the file or just rotating it.

The tool currently only writes the iCloud state to disk - and this separat edited file is part of that.

One of the things I always wanted to implement was a more flexible way of choosing which files to keep (edit, master, thumbnail, etc.) - the tool could have a flag for that and only keep the edited version and ignore the master version.

@steilerDev steilerDev added status(investigating) Currently looking for the root cause of the issue class(improvement) Indicates work related to improve an existing feature and removed class(bug) Something isn't working status(open) A new issue - not yet classified labels Aug 30, 2024
@sms-ebarbeito
Copy link
Author

Ok, I didn check the icloud api, I reported because if I go to icloud web only show the edited photo, not both.
The feature you are talking about could be a good improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class(improvement) Indicates work related to improve an existing feature status(investigating) Currently looking for the root cause of the issue
Projects
None yet
Development

No branches or pull requests

2 participants