1
0
Fork 0
Commit graph

36 commits

Author SHA1 Message Date
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
Salvoxia
19b8018e0c Fixed copy/paste mistake in debug output 2024-03-03 18:52:22 +01:00
Salvoxia
d3372be76f Added -a argument range verification 2024-03-02 20:36:15 +01:00
Salvoxia
91d84b6cca Added debug output for logging new arguments 2024-03-02 20:32:44 +01:00
Salvoxia
39b9a65c76 Updated documentation of -s argument 2024-03-02 19:56:18 +01:00
Salvoxia
b0ca6345b8 Added option to specify number of album levels to create separate albums from nested folders 2024-03-02 19:49:26 +01:00
Salvoxia
a76df9513d Initial commit 2024-02-24 14:17:30 +01:00