johnspade
0d8ce521d6
Refactor API key parameters
2024-10-31 01:17:15 +01:00
johnspade
ea4bce455d
Support file-based API key secrets
2024-10-27 01:33:02 +02:00
Salvoxia
bd4437c1f0
Find Assets in Archive
...
Fixed finding assets in archive if flag was set or --mode was anything but CREATE
2024-10-15 21:28:49 +02:00
Salvoxia
d49878eb53
fetchServerVersion
...
Added support for Immich versions < 1.118.0
2024-10-15 21:27:09 +02:00
Felix Franz
0783c1ee4a
#71 fix broken api after upgrade to 1.118
2024-10-15 19:49:39 +02:00
Salvoxia
87e532dbe6
Code cleanup
2024-10-04 15:15:14 +02:00
Salvoxia
b40a458f7a
Fix: Support triggering offline asset removal after v1.116.0
2024-10-03 21:35:36 +02:00
Salvoxia
c1393160ae
Enhancement: API Error Logging
...
Introduced common function to check API responses for errors and log the payload (if any)
2024-09-28 12:16:41 +02:00
Salvoxia
8ba71a43f1
Feature: Unarchive assets in CLEANUP or DELETE_ALL modes
...
If --mode is set to CLEANUP or DELETE_ALL and --archive is set as well, unarchives all assets of all deleted albums to revert their state
2024-09-27 20:50:24 +02:00
Salvoxia
a3eae0574c
Feature: Find Archived Images
...
Added option to also find archived images
2024-09-27 20:30:34 +02:00
Salvoxia
313b0a7071
Feature: Archive Assets
...
Added new option -v/--archive to automatically archive (hide from Immich's timeline) assets that were newly added to albums
2024-09-27 19:44:41 +02:00
Salvoxia
544d697ffa
Fix: Preview in CLEANUP Mode with Filtering
...
Fixed preview of albums that would be deleted with --mode CLEANUP but without --delete-confirm not taking asset filtering into account
2024-09-27 19:10:37 +02:00
Salvoxia
c9ca29464b
Fixed SyntaxWarning due to DocuString
2024-09-27 18:54:28 +02:00
Salvoxia
6266d86609
Filtering / Ignoring
...
--path-filter may be specified multiple times
BREAKING: --ignore may be specified multiple times, colons are no longer parsed!
--path-filter now supports literals (internally expanded to glob matching paths with literal occurring anywhere)
--ignore now supports glob-style patterns
2024-09-27 18:54:28 +02:00
Salvoxia
14dde8c731
Multiple Root Path Handling
...
Fixed asset ignore mechanism based on ignore and path-filter arguments to correctly work when multiple root paths are specified
2024-09-21 22:46:22 +02:00
Salvoxia
e65a0fa90b
Feature: Set Album Thumbnails
...
Added option values random-all and random-filtered
2024-09-15 19:32:49 +02:00
Salvoxia
b51f6afb22
Merge pull request #48 from jdckr/feature/set-album-thumbnail
...
added feature to set thumbnail for album
2024-09-15 13:02:34 +00:00
Salvoxia
bd72108262
Enhancement: Server Version Check
...
Older Immich versions provide the same API endpoint for getting the server version, a proper error message to check API URL is now displayed on error
2024-09-15 14:49:55 +02:00
jdckr
1094bf2e1a
added feature to set thumbnail for album
2024-09-13 23:39:39 +02:00
Salvoxia
0a9691de3c
Path Filter
...
Fixed SyntaxWarning in Python3.12+
2024-09-08 19:48:21 +02:00
Salvoxia
494b6386b3
Path Filter
...
Switched from fnmatch.filter() to StackOverflow solution until Python3.13 glob.translate() becomes available to counter the problem of fnmatch.filter() not stopping at the directory separator
2024-09-08 19:27:25 +02:00
Salvoxia
d26f027ec4
Feature: Path Filter
...
Added support for filtering assets using a glob-like pattern (using fnmatch)
2024-09-08 15:00:57 +02:00
Salvoxia
8c7289d955
Feature: Find Assets in Albums
...
Added option to fetch all assets from Immich even if they are already part of an album and treat them as normal
2024-09-07 16:23:54 +02:00
Salvoxia
4d6443effc
Version Check
...
Only assume old version on status code 404, raise communication error for all other codes
2024-09-07 16:03:32 +02:00
Salvoxia
49e64e501a
README
...
Added documentation for new --album-order / ALBUM_ORDER argument / env variable
2024-08-21 14:44:22 +02:00
Christian Ferbar
ad785ab105
fix order
2024-08-21 12:20:04 +02:00
Christian Ferbar
5730236383
fix typo
2024-08-21 00:10:04 +02:00
Christian Ferbar
d81b1b0675
cleanup
2024-08-21 00:07:59 +02:00
Christian Ferbar
c0a76d2734
Feature
...
Album order option
2024-08-21 00:06:06 +02:00
Salvoxia
861dddfbbe
Sync Mode
...
Explicitly check for 403 status codes when fetching libraries or triggering offline asset removal to throw the appropriate error
2024-08-18 12:07:43 +02:00
Salvoxia
946193750d
Feature: Introduced Sync Mode
...
Sync mode is a two-stage process to first delete offline assets from libraries, then delete empty albums (became empty due to offline assets removal)
2024-08-18 11:23:51 +02:00
Salvoxia
ad6414b99a
Chore: Added Docstring to mehtods
2024-08-18 10:25:19 +02:00
Salvoxia
942bc5123c
Share Feature
...
Allow specifying share role per user
2024-08-17 20:27:29 +02:00
Salvoxia
f0d467a03c
Feature
...
Added sharing of new albums with one or multiple users with a defined share role (same role for all users
2024-08-16 20:52:33 +02:00
Salvoxia
6638166e05
Added Docker awareness
...
Added more clear user hints for how to run the container for creating/deleting albums depending on whether the script is running bare python or in Docker
2024-08-09 18:14:40 +02:00
Salvoxia
158182ef2e
Fixed typo in argparse help
2024-08-02 19:37:37 +02:00
Salvoxia
a62a6d4faf
Added new option -d/--delete-confirm to confirm album deletion in CLEANUP and DELETE_ALL modes
2024-08-02 19:34:24 +02:00
Salvoxia
261f36065b
Added option -m/--mode to either cleanup all albums created by the script or delete all albums for that user
2024-07-31 21:01:27 +02:00
Salvoxia
94abaedb27
Added support for ignoring folders and files with --ignore
2024-07-30 21:09:28 +02:00
Salvoxia
e392f7a9d7
Renamed option for skipping SSL verification to -k/--insecure (referencing curl)
2024-07-30 20:38:28 +02:00
alternak
699cb8b030
merge upstream
2024-06-16 17:01:12 +02:00
Salvoxia
f29ab5fb9a
Cleaned up imports
2024-06-11 20:48:50 +02:00
Salvoxia
0b476ce230
Immich 1.106.1+
...
Enabled fitler to fetch only assets that are not in any album
2024-06-11 20:44:52 +02:00
Salvoxia
5618dd3b6f
Refactoring
...
Moved API calls to functions for support of legacy API calls (might be removed in the future)
Added support for API with Immich Server v1.106.1+
2024-06-11 20:41:23 +02:00
Salvoxia
aab24346d1
Moved fetching assets into a function as preparation for supporting API changes in 1.106.1
2024-06-11 19:06:44 +02:00
Salvoxia
891ea9d3a2
Added support for album level ranges to support creating album names from only specific ranges of the folder structure
2024-05-10 19:01:39 +02:00
alternak
5f692314c0
Add insecure ssl param
2024-05-01 16:46:55 +02:00
Salvoxia
344826d7b5
Updated documentation for negative album-levels argument
2024-04-12 18:30:42 +02:00
Salvoxia
24feb8d2c8
Added support for accepting negative album_levels, creating album names from the deepest folders in the tree instead of the highest
2024-04-11 22:26:23 +02:00
Salvoxia
bab2171caf
Added option to pass multiple root paths
2024-04-09 21:00:04 +02:00