Skip to content

Releases: RhetTbull/osxphotos

Bug Fix

11 Apr 03:56
4b4252a
Compare
Choose a tag to compare

Bug Fix

Various hot bug fixes for memory leak, errors during export.

10 April 2023

Fixed

  • Fixed memory leak in export (#1047)
  • Fixed crash during export (#1046)
  • Fixed large crash log size (#1048)

Changed

  • Added better help for no selection with --selected (#1036)
  • Changed PhotoInfo.asdict() and PhotoInfo.json() to allow deep or shallow option (#1038)
  • Updated development docs (#1043)

Contributors

Bug Fix for Export

08 Apr 19:09
058b560
Compare
Choose a tag to compare

Bug Fix for Export

08 April 2023

Fixed

  • Fixed error on export when photo belonged to a project (#999)
  • Fixed large increase in export database size (#999)

Changed

  • Added indent, shallow args to PhotoInfo.json() (#1038)

Contributors

Performance Boost

03 Apr 05:02
Compare
Choose a tag to compare

Performance Boost

2 April 2023

Changed

  • Removed lock files from export code (speed boost for NAS export, see #999); will need to eventually add this back for multithreaded export
  • Optimized some code in export CLI to speed export
  • Some linting fixed for move to ruff

Contributors

API support for concurrent export

01 Apr 17:14
Compare
Choose a tag to compare

API Support for Concurrent Export

1 April 2023

New

  • PhotoInfo.export() and PhotoExporter.export() now support exporting in concurrent threads on Python 3.11+. This applies only to the API. The osxphotos export CLI does not yet support concurrent export. See #999.

See example code in concurrent_export.py.

Contributors

  • @RhetTbull for code changes.
  • @eecue for testing and helping to pinpoint the issue.

batch-edit update

14 Mar 19:17
10ebe9e
Compare
Choose a tag to compare

batch-edit update

14 March 2023

Changed

  • batch-edit no longer overwrites keywords but instead merges new keywords with existing keywords

Added

  • added --replace-keywords flag to osxphotos batch-edit to force replacement of keywords

Contributors

  • @RhetTbull for code changes
  • @pekingduck for pointing out the deisgn flaw in batch-edit --keywords logic

Bug Fix

09 Mar 14:55
0dd6286
Compare
Choose a tag to compare

Bug Fix

09 March 2023

Fixed

  • Null times in Photos database (#1014)

Added

  • Added appends, prepends filter to template system (#1015)
  • Added python and macOS versions to --version output (#1008)

Contributors

New batch-edit commmand

26 Feb 03:43
2e4046c
Compare
Choose a tag to compare

New osxphotos batch-edit Command

Added new osxphotos batch-edit command to batch edit metadata for selected photos, improvements to timewarp, bug fix for export.

25 February 2023

New

  • Added osxphotos batch-edit command to batch edit metadata (title, description, keywords, location) on selected photos. See osxphotos help batch-edit for more information. (#949)
  • Added --date-added and --date-added-from-photo to osxphotos timewarp command to adjust the date added for selected photos. This is useful for removing photos from the Recents folder, for example. (#998)

Fixed

  • Bug fix for export when retry failed to close export database. Thanks to @eecue for reporting this. (#999)

Contributors

Added `osxphotos show filepath`

20 Feb 17:01
5aa4a20
Compare
Choose a tag to compare

Added osxphotos show FILEPATH

Added

  • osxphotos show FILEPATH to show a photo in Photos from the filepath to an exported photo, exported with osxphotos export

Internal

  • Fixed a bug in echo_error() that occurred only in certain circumstances.

Contributors To This Release

Updated exportdb to add migrate library feature

20 Feb 16:06
c90c241
Compare
Choose a tag to compare

Updated exportdb to add migrate library feature

Added

  • --migrate-photos-library option added to osxphotos exportdb to migrate the export database from one Photos library to another. This is useful when moving to a new computer but maintaining the existing osxphotos export. Thanks to @swduncan for the idea. (#990)

Fixed

  • Fixed a bug in osxphotos export --cleanup to handle files which could not be deleted. Thanks to @oPromessa for finding this and suggesting the fix. (#987)

Internal

  • Fixed a bug that caused rich_echo() to not display rich text if --verbose wasn't specified.

Contributors

  • @RhetTbull for code changes.
  • @promessa who found the cleanup bug and suggested a code fix.
  • @swduncan who suggested the library migrate use case.

Bug fixes, refactoring

12 Feb 16:37
e39424e
Compare
Choose a tag to compare

Added show command, bug fix, refactoring

A bug fix and some refactoring to prepare for adding a parallel export mode. Also added osxphotos show command.

Added

  • Implemented show command: osxphotos show UUID_OR_NAME finds the photo/album/folder in Photos and spotlights it in the Photos app (#964)
  • --uuid-from-file can now read from stdin if the filename is - (#965)

Changed

  • Added lock files to export to minimize name collisions. This will help with implementing a parallel/multi-process export mode later.

Fixed

  • Fixed osxphotos timewarp bug if timezone was null in database (#976)

Contributors To This Release