From fe846fefe0ee538068995ca9032d6f2b703ef1b4 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Sun, 17 Sep 2023 23:00:25 -0500 Subject: [PATCH] Update saveImage.sh: Add name of last image to timelapse.sh so it appears in possible "ps" output --- scripts/saveImage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/saveImage.sh b/scripts/saveImage.sh index b7119e75d..6ae04341c 100755 --- a/scripts/saveImage.sh +++ b/scripts/saveImage.sh @@ -368,8 +368,8 @@ if [[ ${SAVE_IMAGE} == "true" ]]; then D="--no-debug" fi O="${ALLSKY_TMP}/mini-timelapse.mp4" - "${ALLSKY_SCRIPTS}/timelapse.sh" "${D}" --lock --output "${O}" \ - --mini --images "${MINI_TIMELAPSE_FILES}" + "${ALLSKY_SCRIPTS}/timelapse.sh" --Last "$( basename "${FINAL_FILE}" )" \ + "${D}" --lock --output "${O}" --mini --images "${MINI_TIMELAPSE_FILES}" if [[ $? -ne 0 ]]; then # failed so don't try to upload TIMELAPSE_MINI_UPLOAD_VIDEO="false"