Skip to content

Commit 6e6b97e

Browse files
authored
Merge pull request #102 from Salvoxia/fix/commentsAndLikesDisabled
Fix: Restored --comments-and-likes-disabled
2 parents 1d74d0c + 8af0080 commit 6e6b97e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ This script is mostly based on the following original script: [REDVM/immich_auto
116116
Timeout when requesting Immich API in seconds (default: 20)
117117
--comments-and-likes-enabled
118118
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)
119+
--comments-and-likes-disabled
120+
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)
119121
--update-album-props-mode
120122
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:
121123
0 = Do not change album properties.

immich_auto_album.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,8 @@ def find_user_by_name_or_email(name_or_email: str, user_list: list[dict]) -> dic
16931693
parser.add_argument("--api-timeout", default=REQUEST_TIMEOUT_DEFAULT, type=int, help="Timeout when requesting Immich API in seconds")
16941694
parser.add_argument("--comments-and-likes-enabled", action="store_true",
16951695
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")
1696+
parser.add_argument("--comments-and-likes-disabled", action="store_true",
1697+
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")
16961698
parser.add_argument("--update-album-props-mode", type=int, choices=[0, 1, 2], default=0,
16971699
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.
16981700
Possible values:

0 commit comments

Comments
 (0)