Prevent trying to run ffprobe on .hmt files

This commit is contained in:
prpr 2023-10-06 23:53:07 +01:00
parent dc65836cd4
commit 15c3fcb239

View File

@ -6,5 +6,6 @@ source /mod/webif/lib/setup
httpheader
set file [cgi_get file]
puts [exec /mod/bin/ffprobe -hide_banner $file]
if {[string compare -nocase [file extension $x] ".hmt"]} {
puts [exec /mod/bin/ffprobe -hide_banner $file]
}