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

Handle AAE files in osxphotos import #1464

Closed
RhetTbull opened this issue Mar 26, 2024 · 1 comment
Closed

Handle AAE files in osxphotos import #1464

RhetTbull opened this issue Mar 26, 2024 · 1 comment
Labels
cli Pertains to the command line interface feature request New feature or request

Comments

@RhetTbull
Copy link
Owner

but it doesn't seem to generate the AAE file

Not every photo will have one of these. They're only generated when there are non-destructive edits performed in Photos and then not even all the time. Still a bit of a mystery to me. If you drag a file and it's AAE into Photos, Photos will import it along with the adjustments and recreate the adjustments. I've not yet figured out how to do this programmatically so osxphotos import will not yet import these.

Originally posted by @RhetTbull in #1267 (reply in thread)

@RhetTbull RhetTbull added feature request New feature or request cli Pertains to the command line interface labels Mar 26, 2024
@RhetTbull
Copy link
Owner Author

This works. AAE file must be imported in same call to import_photos:

>>> import photoscript
>>> pl = photoscript.PhotosLibrary()
>>> pl.import_photos(["/Users/rhet/Desktop/export/wedding.jpg", "/Users/rhet/Desktop/export/wedding.aae"])
[<photoscript.Photo object at 0x10baead50>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Pertains to the command line interface feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant