Tdarr_Plugins icon indicating copy to clipboard operation
Tdarr_Plugins copied to clipboard

awk & tail commands don't work in windows nodes

Open Snowman3456 opened this issue 2 years ago • 0 comments

See https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/Community/Tdarr_Plugin_e5c3_CnT_Remove_Letterbox.js

This command fails on windows nodes:

execSync(`${otherArguments.ffmpegPath} -ss 300 -i \"${source}\" -frames:v 240 -vf cropdetect -f null - 2>&1 | awk \'/crop/ { print $NF }\' | tail -240 > \"${cropfile}\"`);

Snowman3456 avatar May 04 '22 12:05 Snowman3456