Minor changes (PATCH)

- Log messages with version
- Dockerfile case
This commit is contained in:
TheCaptain989 2025-04-21 15:12:32 +00:00 committed by GitHub
parent 53bec57fb1
commit 7246fe3eba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage
ARG MOD_VERSION
# copy local files

4
root/usr/local/bin/striptracks.sh Normal file → Executable file
View File

@ -199,7 +199,7 @@ while (( "$#" )); do
exit 0
;;
--version ) # Display version
echo "$striptracks_script $striptracks_ver"
echo "${striptracks_script} ${striptracks_ver/{{VERSION\}\}/unknown}"
exit 0
;;
-f|--file ) # Batch Mode
@ -1000,7 +1000,7 @@ done
# Log Debug state
if [ $striptracks_debug -ge 1 ]; then
striptracks_message="Debug|Enabling debug logging level ${striptracks_debug}. Starting run for: $striptracks_title"
striptracks_message="Debug|Running ${striptracks_script} version ${striptracks_ver/{{VERSION\}\}/unknown} with debug logging level ${striptracks_debug}. Video: $striptracks_title"
echo "$striptracks_message" | log
echo "$striptracks_message" >&2
fi