Releases: RhetTbull/osxphotos
Releases · RhetTbull/osxphotos
Bug Fix
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
- @RhetTbull for code changes
- @wernerzj for finding bug with memory leak
- @rajscode for finding export crash
- @oPromessa for development docs fix
Bug Fix for Export
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
- @RhetTbull for code
- @oPromessa for finding bugs, running tests
Performance Boost
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
- @RhetTbull for code
- @cclauss for linting fixes
API support for concurrent export
API Support for Concurrent Export
1 April 2023
New
PhotoInfo.export()
andPhotoExporter.export()
now support exporting in concurrent threads on Python 3.11+. This applies only to the API. Theosxphotos 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
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
New batch-edit commmand
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. Seeosxphotos help batch-edit
for more information. (#949) - Added
--date-added
and--date-added-from-photo
toosxphotos 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
- @RhetTbull for code changes.
- @eecue for finding export database bug.
Added `osxphotos show filepath`
Added osxphotos show FILEPATH
Added
osxphotos show FILEPATH
to show a photo in Photos from the filepath to an exported photo, exported withosxphotos export
Internal
- Fixed a bug in
echo_error()
that occurred only in certain circumstances.
Contributors To This Release
- @RhetTbull for code fixes.
Updated exportdb to add migrate library feature
Updated exportdb to add migrate library feature
Added
--migrate-photos-library
option added toosxphotos 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
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
- @RhetTbull @RhetTbull
- @aa599 @aa599 for reporting the timezone bug and suggesting change to
--uuid-from-file