From 64aea91d9dd6fae54ed70cfa5d22ad45dc40987f Mon Sep 17 00:00:00 2001 From: prpr Date: Mon, 2 Dec 2024 12:37:41 +0000 Subject: [PATCH] Test sidecar for executable-ness rather than existance when cropping --- webif/html/browse/crop/execute.jim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webif/html/browse/crop/execute.jim b/webif/html/browse/crop/execute.jim index 5ca9026..265e1f7 100755 --- a/webif/html/browse/crop/execute.jim +++ b/webif/html/browse/crop/execute.jim @@ -71,7 +71,7 @@ set newname "$shname-[clock seconds]" puts "Renaming file group to $newname" puts "" ts renamegroup "$dir/$shname.ts" $newname -if {[file exists /mod/bin/sidecar]} { +if {[file executable /mod/bin/sidecar]} { set cmd [list /mod/bin/sidecar -n] lappend cmd "$dir/$newname" puts "Regenerating .nts file"