icloud-photos-downloader / icloud_photos_downloader

A command-line tool to download photos from iCloud
MIT License
6.21k stars 529 forks source link

Download EXIF Favorite flag #789

Open iansewell opened 4 months ago

iansewell commented 4 months ago

Summary

If I favorite (heart) a photo on my iphone, I'd like to be able to see that metadata in the downloaded photo (via exiftool)

Context

When I take a bunch of photos instead of using an album for the best photos, I use the built in "heart" mechanism in iOS but these are not downloaded. It would also be nice if favoriting an already downloaded photo would be "seen" and cause a re-download

AndreyNikiforov commented 4 months ago

Curious, once you download an asset with exif favorite flag, how are you going to use it? Does your photo organizing software support it? Do you know which flag that software uses out of all available?

iansewell commented 4 months ago

Hi Andrey, thanks for the response. I use immich/Immich GO. TBH I'm not sure what EXIF flag they use - maybe none yet. My flow is that I use icloudpd to download images which are then uploaded with immich-go to my server. Yes, I know that Immich has a native IOS client that uploads images directly from the iphone, but it doesn't work which large icloud libraries (even if I seed Immich with a library thanks to icloudpd, dedup'ing from the app takes forever, and I don't think it even works for images that have been offloaded to icloud)

If immich doesn't support the concept of favorites then I could still use a script to separate out the favorited photos using whatever exif flag you use and then upload those to a specific album which could be bulk favorited in immich.

AndreyNikiforov commented 4 months ago

If your tool does not support EXIF flag for favorites, then I do not see a reason to implement it in icloudpd yet. iCloud may have a capability to put favorites in separate album automatically, in which case you can use icloudpd to download that album and use immich with that album natively.

undaunt commented 3 weeks ago

When I load photos into Immich via the Immich mobile app, they do mark the favorites that I've marked on Apple Photos.