aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-python--format-wiring.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 20:01:25 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 20:01:25 -0500
commite25751c1a8673855bc8235288e7544078a1b14dc (patch)
treeb161e7ea95b8a2e5e241a1d02aead17f3c3eac68 /tests/test-prog-python--format-wiring.el
parentc42e4e5afffb83b357945763824b4956e45d5820 (diff)
downloaddotemacs-e25751c1a8673855bc8235288e7544078a1b14dc.tar.gz
dotemacs-e25751c1a8673855bc8235288e7544078a1b14dc.zip
fix(dwim-shell): build video-concat filelist in elisp
cj/dwim-shell-commands-concatenate-videos built the ffmpeg concat list with echo '<<*>>' | tr ' ' '\n' | sed 's/^/file /'. That splits on spaces, so any video whose name contains a space produced a broken list, and a name with a quote broke the echo outright. I extracted cj/dwim-shell--build-concat-filelist, which renders each path as an escaped file '...' line. I write that list to a temp file and run ffmpeg against the quoted listfile, with a trailing rm to clean up after the process exits. The <<*>> token stays only as an inert shell comment, since dwim-shell needs it to run one command over all marked files instead of once per file.
Diffstat (limited to 'tests/test-prog-python--format-wiring.el')
0 files changed, 0 insertions, 0 deletions