Skip to content

Commit

Permalink
Merge pull request #102 from Salvoxia/fix/commentsAndLikesDisabled
Browse files Browse the repository at this point in the history
Fix: Restored --comments-and-likes-disabled
  • Loading branch information
Salvoxia authored Jan 7, 2025
2 parents 1d74d0c + 8af0080 commit 6e6b97e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ This script is mostly based on the following original script: [REDVM/immich_auto
Timeout when requesting Immich API in seconds (default: 20)
--comments-and-likes-enabled
Pass this argument to enable comment and like functionality in all albums this script adds assets to. Cannot be used together with --comments-and-likes-disabled (default: False)
--comments-and-likes-disabled
Pass this argument to disable comment and like functionality in all albums this script adds assets to. Cannot be used together with --comments-and-likes-enabled (default: False)
--update-album-props-mode
Change how album properties are updated whenever new assets are added to an album. Album properties can either come from script arguments or the `.albumprops` file. Possible values:
0 = Do not change album properties.
Expand Down
2 changes: 2 additions & 0 deletions immich_auto_album.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,8 @@ def find_user_by_name_or_email(name_or_email: str, user_list: list[dict]) -> dic
parser.add_argument("--api-timeout", default=REQUEST_TIMEOUT_DEFAULT, type=int, help="Timeout when requesting Immich API in seconds")
parser.add_argument("--comments-and-likes-enabled", action="store_true",
help="Pass this argument to enable comment and like functionality in all albums this script adds assets to. Cannot be used together with --comments-and-likes-disabled")
parser.add_argument("--comments-and-likes-disabled", action="store_true",
help="Pass this argument to disable comment and like functionality in all albums this script adds assets to. Cannot be used together with --comments-and-likes-enabled")
parser.add_argument("--update-album-props-mode", type=int, choices=[0, 1, 2], default=0,
help="""Change how album properties are updated whenever new assets are added to an album. Album properties can either come from script arguments or the .albumprops file.
Possible values:
Expand Down

0 comments on commit 6e6b97e

Please sign in to comment.