diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-23 20:01:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-23 20:01:25 -0500 |
| commit | 5de470b1030c932b4e99ce685c0f27078a5db428 (patch) | |
| tree | 3e9cb37a953a50fe9a81633067dc9c51ef9944c8 /early-init.el | |
| parent | c0237adec5a92d6a2814f23b40be4d5415bcd9c8 (diff) | |
| download | dotemacs-5de470b1030c932b4e99ce685c0f27078a5db428.tar.gz dotemacs-5de470b1030c932b4e99ce685c0f27078a5db428.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 'early-init.el')
0 files changed, 0 insertions, 0 deletions
