Skip to content

Commit

Permalink
Docker
Browse files Browse the repository at this point in the history
Added support for archiving assets
Added support for finding archived assets
  • Loading branch information
Salvoxia committed Sep 27, 2024
1 parent a3eae05 commit 2f0a7c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/immich_auto_album.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ if [ ! -z "$FIND_ASSETS_IN_ALBUMS" ]; then
args="--find-assets-in-albums $args"
fi

if [ ! -z "$FIND_ARCHIVED_ASSETS" ]; then
args="--find-archived-assets $args"
fi

if [ ! -z "$path_filter_list" ]; then
args="$path_filter_list $args"
fi
Expand All @@ -122,6 +126,9 @@ if [ ! -z "$SET_ALBUM_THUMBNAIL" ]; then
args="--set-album-thumbnail \"$SET_ALBUM_THUMBNAIL\" $args"
fi

if [ ! -z "$ARCHIVE" ]; then
args="--archive $args"
fi

BASEDIR=$(dirname "$0")
echo $args
echo $args | xargs python3 -u $BASEDIR/immich_auto_album.py

0 comments on commit 2f0a7c5

Please sign in to comment.