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.
Fixed bug for corrupt place info data.
PhotoInfo.screenshot
.Fixed bug for missing path for referenced Live Photos.
Adds new combine operator &
to template language, ignores corrupt psi.sqlite in Photos library.
&
to template language, (#1453)A few bug fixes; update for macOS 14.4.
Adds new osxphotos compare
command to compare two libraries.
Synopsis:
osxphotos compare [OPTIONS] LIBRARY1 LIBRARY2
osxphotos compare Test-13.5.1-compare-1.photoslibrary Test-13.5.1-compare-2.photoslibrary
library_a = Test-13.5.1-compare-1.photoslibrary
library_b = Test-13.5.1-compare-2.photoslibrary
in_a_not_b = 1 asset
in_b_not_a = 2 assets
in_a_and_b_same = 2 assets
in_a_and_b_different = 1 asset
osxphotos compare \
Test-13.5.1-compare-1.photoslibrary \
Test-13.5.1-compare-2.photoslibrary \
--csv --output compare.csv
osxphotos compare
command to compare two libraries. #939export_db.py
thanks to @rajscode. #1422osxphotos diff
and osxphotos snap
commands are now hidden as these are primarily for osxphotos developers or those hacking on the Photos library. To see hidden commands, use OSXPHOTOS_SHOW_HIDDEN=1 osxphotos help
. #1427This release includes a few bug fixes as well as a new feature to fix photo orientation upon export.
--fix-orientation
flag to osxphotos export
command to automatically adjust the orientation of exported photos to match the orientation stored in the Photos database. This is mostly useful for iPhoto libraries which do not treat orientation adjustments as edits and thus no edited image with the correct orientation is created. #1396sync
and import
which improves reliability and makes it possible to implement the osxphotos compare
command. #1389osxphotos export
command and the passed path includes smart quotes, the error message will now tell the user to remove the smart quotes. This fixes a common user error when pasting from TextEdit or Notes that use smart quotes. #1408osxphotos repl
to work when connected via SSH. #1332--update
(migrates export database to version 9.1)--fix-orientation
flag.Fixes for --checkpoint
causing unnecessary slowdown.
osxphotos export --checkpoint
no longer automatically checkpoints during export. See #1083.Fixes for `--sidecar`` when exporting edited photos.
--sidecar
.Fixes for iPhoto export and Google Takeout import.
XMP:Rating
field with --sidecar
and --exiftool
options. (#1353)osxphotos import --sidecar-template
renamed to --sidecar-filename
to avoid ambiguity with the osxphotos export
option --sidecar-template
. (#1351)--not-incloud
as this caused confusion for usesrs (#1366)XMP:Rating
field with iPhoto.--sidecar-template
for import.