RhetTbull / osxphotos

Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata.
MIT License
2.04k stars 95 forks source link

photokit export on Ventura with edited live photo exports wrong version #866

Open RhetTbull opened 1 year ago

RhetTbull commented 1 year ago

Select an edited live photo on Ventura then run:

osxphotos export ~/Desktop/export --selected --verbose --use-photokit --use-photos-export

Both original and edited versions get exported but the photo that's exported as original is actually the edited (as is the edited version)

RhetTbull commented 1 year ago

This apparently isn't just on Ventura. I found this note in the source so apparently it's something I tried to fix before.

https://github.com/RhetTbull/osxphotos/blob/3c8d7e13b92b8db4999e458aac2ce37eb706cc7b/osxphotos/photokit.py#L15-L16