Osxphotos Versions Save

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.

v0.67.10

1 month ago

Bug Fix for Corrupted Place Info data

Fixed bug for corrupt place info data.

Added

Fixed

  • Fixed bug for corrupt place info data.
  • Fixed doc string for PhotoInfo.screenshot.
  • Fixed verbose output for export of AAE files.

Changed

Removed

Contributors

v0.67.9

1 month ago

Bug Fix for Referenced Live Photos

Fixed bug for missing path for referenced Live Photos.

Added

Fixed

  • Fixed bug for missing path for referenced Live Photos. (#1459)

Changed

Removed

Contributors

v0.67.8

1 month ago

Combine Operator

Adds new combine operator & to template language, ignores corrupt psi.sqlite in Photos library.

Added

  • New combine operator & to template language, (#1453)

Fixed

  • Ignore corrupt psi.sqlite in Photos library, (#1452)

Changed

Removed

Contributors

v0.67.7

2 months ago

Bug Fixes

A few bug fixes; update for macOS 14.4.

Added

Fixed

  • Fix for improperly initialized export db, (#1435)
  • Fix for album still created on export when --dry-run parameter is used (#1440)
  • Attribute error during PhotoInfo.path (#1445)
  • Update macOS tested version for 14.4 (#1429)

Changed

Removed

Contributors

v0.67.6

2 months ago

Hotfix for bug with --ramdb

Fixed

Fixed bug that prevented using Ctrl+C to cancel an export when using --ramdb

v0.67.5

2 months ago

Compare Libraries

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

Added

  • New osxphotos compare command to compare two libraries. #939

Fixed

  • Code comment in export_db.py thanks to @rajscode. #1422

Changed

  • osxphotos 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. #1427

Removed

Contributors

  • @RhetTbull @RhetTbull for code.
  • @rajscode @rajscode for fixing an incorrect comment in the code.

v0.67.4

2 months ago

Bug Fixes

This release includes a few bug fixes as well as a new feature to fix photo orientation upon export.

Added

  • --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. #1396

Fixed

  • Unified the fingerprint code for sync and import which improves reliability and makes it possible to implement the osxphotos compare command. #1389
  • If a path is invalid in the osxphotos 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. #1408
  • Fixed osxphotos repl to work when connected via SSH. #1332

Changed

  • Added index to history table in export databasel; this should speed up exports with --update (migrates export database to version 9.1)

Removed

Contributors

  • @RhetTbull @RhetTbull for code.
  • @mlevin77 @mlevin77 for suggesting the --fix-orientation flag.

v0.67.3

4 months ago

[v0.67.3] - 2024-01-13

Fixes for --checkpoint causing unnecessary slowdown.

Added

Removed

Changed

  • osxphotos export --checkpoint no longer automatically checkpoints during export. See #1083.

Fixed

Contributors

v0.67.2

4 months ago

[v0.67.2] - 2024-01-01

Fixes for `--sidecar`` when exporting edited photos.

Added

Removed

Changed

Fixed

  • Sidecar not written for edited photo when exporting both original and edited photo. (#1346)

Contributors

v0.67.1

4 months ago

[v0.67.1] - 2023-12-31

Fixes for iPhoto export and Google Takeout import.

Added

Removed

Changed

  • iPhoto export will now write the photo rating to the 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)
  • Photos in shared albums are now excluded from --not-incloud as this caused confusion for usesrs (#1366)

Fixed

  • Fixed query could sometimes fail with iPhoto library.
  • Fixed Google Takeout was importing timestamps incorrectly. (#1356)

Contributors

  • @RhetTbull @RhetTbull for code.
  • @LunarLanding @LunarLanding for finding bug in import and submitting the fix.
  • @mlevin77 @mlevin77 for idea to use XMP:Rating field with iPhoto.
  • @finestream @finestream for suggesting the change to --sidecar-template for import.