diff options
| author | Dennis Fink | 2026-02-25 20:21:08 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-02-25 20:21:08 +0100 |
| commit | f3efff4ecf5ee68c4c8b00197e7706b3c91b6c9b (patch) | |
| tree | fdfab84289e6fe87526f6e7ae87a9cf121973968 | |
| parent | c5726497460845f55b74e19d9a40d5f949656499 (diff) | |
| download | transcode.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.
| -rwxr-xr-x | transcode.sh | 3 |
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. |
