v0.12.0
⚠️ Potentially Breaking Changes⚠️
Only affects users of the bare Python script!
- The
--ignore
option no longer accepts a colon:
separated string. If you want to specify multiple keywords to ignore, pass--ignore
multiple times, once for each keyword or glob pattern!
Features
- Automatic Archiving
In Immich, "archiving" assets is used to hide/remove them from the main timeline. A new option has been introduced to automatically "archive" assets that were added to an album during the run. Refer to Automatic Archiving in the README.
Thanks to @plaubi
Enhancements
- Multiple Path Filters
The script now supports multiple path filters.--path-filter
can be passed multiple times to the script. On Docker, pass a colon ´:´ separated string in environment variablePATH_FILTER
.
The--ignore
option now also supports glob-style patterns.
Refer to the updated section about Filtering in the README. - API Error Logging
Added a common function for verifying API responses and logging errors and the payload (if any)
Fixes
- Preview in
CLEANUP
Mode with Filtering
When the script was run with--mode
set toCLEANUP
while also specifying filters with--path-filter
or--ignore
, the preview of albums that would be deleted did not take the filters into account and listed all albums in Immich. However, the deletion routine honored the filters even before this version!
Full Changelog: 0.11.1...0.12.0