summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2026-02-25 20:21:08 +0100
committerDennis Fink2026-02-25 20:21:08 +0100
commitf3efff4ecf5ee68c4c8b00197e7706b3c91b6c9b (patch)
treefdfab84289e6fe87526f6e7ae87a9cf121973968
parentc5726497460845f55b74e19d9a40d5f949656499 (diff)
downloadtranscode.sh-f3efff4ecf5ee68c4c8b00197e7706b3c91b6c9b.tar.gz
transcode.sh-f3efff4ecf5ee68c4c8b00197e7706b3c91b6c9b.zip
fix(skip): join codec keys before passing to verbose()
Joining into a single string ensures the entire list renders uniformly.
Diffstat (limited to '')
-rwxr-xr-xtranscode.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/transcode.sh b/transcode.sh
index 749668c..9eab13f 100755
--- a/transcode.sh
+++ b/transcode.sh
@@ -597,7 +597,8 @@ if [[ ! "$NICE_VALUE" =~ ^-?[0-9]+$ ]] || ((NICE_VALUE < -20 || NICE_VALUE > 19)
fi
if [[ ${#SKIP_CODECS[@]} -gt 0 ]]; then
- verbose "Skipping files with codecs:" "${!SKIP_CODECS[*]}"
+ printf -v joined ' %s' "${!SKIP_CODECS[@]}"
+ verbose "Skipping files with codecs:" "${joined# }"
fi
# Remove temporary output files created during encoding.