github RhetTbull/osxphotos v0.78.2

3 hours ago

v0.78.2

Support for reading Photos 1.x libraries (Photos 1.0 and 1.5), a fix for "Too many open files" errors during large exports, PhotoInfo.export() now raises an error when nothing is exported, and fixes for exportdb --migrate-photos-library and zero-size face regions.

2026-11-29

Added

  • osxphotos can now read libraries created with Photos 1.x (macOS 10.10.3 - 10.11) on any supported macOS version or on Linux. Photos 1.0.1 (macOS 10.10.5) and Photos 1.5 (macOS 10.11.6) have been tested (#2301).
  • Added osxphotos-mcp, an MCP server built on osxphotos that lets AI assistants search, inspect and export photos, to Related Projects in the README (#2315, thanks @rscholz98).

Changed

  • PhotoInfo.export() and iPhotoPhotoInfo.export() now raise FileNotFoundError when the requested version of a photo is missing (for example an original not downloaded from iCloud) instead of returning an empty list. PhotoExporter.export() is unchanged and still reports missing files in ExportResults.missing (#1598, #2316, thanks @toyeshhm for the fix and @sg-s for reporting).
  • Bumped ruff to 0.17.4 (dev dependency) (#2302).

Removed

Fixed

  • Fixed exports failing partway through with [Errno 24] Too many open files, seen with Python 3.14: PhotoInfo.cloud_metadata and PhotoTables opened a new connection to the Photos database on every call and never closed it. They now use a shared connection (#2138, #2318, thanks @asimonov for reporting).
  • Fixed XMP sidecars and exiftool output writing a zero-size face region at the corner of the image for people that Photos detected without a face. These regions are now skipped; the person's name is still written to PersonInImage and keywords (part of #2303, #2317, thanks @SAY-5).
  • Fixed exportdb --migrate-photos-library stopping with FileNotFoundError at the first export database record whose original file is no longer on disk; the photo signature now falls back to name and size (#2307, thanks @rubas).
  • Fixed exportdb --migrate-photos-library silently skipping, and not counting as "not migrated", photos with a known file size that matched nothing (#2313).

Contributors

Don't miss a new osxphotos release

NewReleases is sending notifications on new releases.