forked from hummypkg/webif
Prevent trying to run ffprobe on .hmt files
This commit is contained in:
parent
dc65836cd4
commit
15c3fcb239
@ -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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user