Skip to content

Releases: Salvoxia/immich-folder-album-creator

v0.17.1

07 Jan 19:33
6e6b97e
Compare
Choose a tag to compare

Hotfix Release

Full Changelog: 0.17.0...0.17.1

v0.17.0

07 Jan 14:22
1d74d0c
Compare
Choose a tag to compare

Enhancements

  • Prevent automatic removal of unknown shared users
    With v0.16.0 the default behavior for updating album properties and shared state was changed so that they were updated any time new assets were added to albums, leading to manually shared albums getting unshared by the script.
    The old behavior has been restored, so that album sharing and any other album properties are only set when a new album is created.
    To still get the benefit of mass updating album properties and shared state after the fact, a new option --update-album-props-mode / env variable UPDATE_ALBUM_PROPS_MODE has been introduced. Read about it in README section Mass Updating Album Properties.
    Thanks @Toastie
  • Update README.md - Docker compose: volume mount correction and additional info in #92
    Thanks at @archont00

New Contributors

Full Changelog: 0.16.0...0.17.0

v0.16.0

21 Dec 20:02
f6c6e7e
Compare
Choose a tag to compare

Features

Enhancements

  • chore: Add pylint
    Added linting the code to ensure code quality
  • New Argument: API Timeout
    Introduced new argument --api-timeout / Docker env variable API_TIMEOUT to override the Immich API request timeout
  • New Arguments: Enable/Disbale Comments and Likes
    Introduced new arguments --comments-and-likes-disabled and --comments-and-likes-enabled / Docker env variable COMMENTS_AND_LIKES (with values 0 or 1) to enable or disable album comments and likes functionality

Fixes

New Contributors

Full Changelog: 0.15.0...0.16.0

v0.15.0

01 Nov 17:44
5874149
Compare
Choose a tag to compare

Features

  • Support file-based API key secrets
    The Immich API key may now be passed to the script in a secrets file instead of a command line argument.
    Add -t file to your command line and replace the API key with the absolute path to your secrets file containing the API key.
    For Docker, mount the secrets file into the container and set environment variable API_KEY_FILE to the absolute path to the secrets file within the container. Do not set the API_KEY environment variable.
    Thanks @johnspade!

New Contributors

Full Changelog: 0.14.0...0.15.0

v0.14.0

15 Oct 19:34
9d0e73e
Compare
Choose a tag to compare

Important

If you just updated to Immich v1.118.0 and you are using the script within your Immich docker-compose stack, with ROOT_URL referencing the immich-server service directly, you must update the port in ROOT_URL from 3001 to 2283:

  immich-folder-album-creator:
    container_name: immich_folder_album_creator
    image: salvoxia/immich-folder-album-creator:latest
    restart: unless-stopped
    environment:
-      API_URL: http://immich_server:3001/api
+      API_URL: http://immich_server:2283/api

Fixes

  • #71 fix broken api after upgrade to 1.118 in #72
    Restores compatibility with Immich v1.118.0
    Thanks @Felix-Franz
  • Fix: Find Assets in Archive in #73
    Fixed Regression introduced with v0.13.0: Assets in archive were no longer found even if --find-assets-in-archive flag / FIND_ASSETS_IN_ARCHIVE env variable was set or --mode was anything but CREATE.

New Contributors

Full Changelog: 0.13.0...0.14.0

v0.13.0

04 Oct 13:28
e01fc41
Compare
Choose a tag to compare

Important

Important changes to Offline Asset Removal revolving around Dealing with External Library Changes!

With Immich v1.116.0, the way offline assets are handled was changed. Previously, a job for removing offline assets from a specific external library could be started by an Administrator. Now, offline assets are merely displayed in the Trash instead of the main timeline. They are removed by emptying the Trash.
The script was updated to handle this new behavior, which comes with a simplification and more convenient Sync Mode behavior.

It is no longer necessary to use an Administrator's API Key to trigger Offline Asset Removal!
Nor is it necessary to run a second container to periodically trigger Offline Asset Removal. If you used a second container in your docker-compose stack or a separate cronjob, these can be deleted. This no longer works as it used to!
It is now possible to simply set Sync Mode to 2 in order to first remove all offline assets, then delete all empty albums.
For details, refer to the README section Dealing with External Library Changes.

What's Changed

  • Fix/offline asset removal since Immich v1.116.0 in #66

Full Changelog: 0.12.0...0.13.0

v0.12.0

28 Sep 10:29
b94ace1
Compare
Choose a tag to compare

⚠️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 variable PATH_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 to CLEANUP 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

v0.11.1

22 Sep 07:29
adc40a9
Compare
Choose a tag to compare

Fixes

What's Changed

  • Multiple Root Path Handling by in #54

Full Changelog: 0.11.0...0.11.1

v0.11.0

15 Sep 18:19
Compare
Choose a tag to compare

Features

Enhancements

  • Server Version Check now can correctly distinguish between too old Immich versions and plain communication errors

New Contributors

  • @jdckr made their first contribution in #48

Full Changelog: 0.10.0...0.11.0

v0.10.0

08 Sep 19:47
96d83bb
Compare
Choose a tag to compare

Features

  • Find Assets in Album (#41)
    Added an option to make the script request all assets from Immich, even the ones that already are part of an album. That way, the script can be used with different settings in multiple runs.
    Refer to Assets in Multiple Albums in README.
    Thanks @carlosjfcasero
  • Path Filter
    Added option to filter assets using a glob-style pattern and only create albums for the filtered assets.
    Refer to Filtering in README

Fixes

New Contributors

Full Changelog: 0.9.0...0.10.0