diff --git a/webif/html/browse/ffmpeg.jim b/webif/html/browse/ffmpeg.jim index f9f2ae3..e8f6edc 100755 --- a/webif/html/browse/ffmpeg.jim +++ b/webif/html/browse/ffmpeg.jim @@ -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] +}