diff --git a/webif/html/browse/index.jim b/webif/html/browse/index.jim
index be17858..8e6f27c 100755
--- a/webif/html/browse/index.jim
+++ b/webif/html/browse/index.jim
@@ -21,7 +21,7 @@ header
set nicesplice [system pkginst nicesplice]
set ignore {.nts .thm .hmi}
-set include {.ts .avi .mpg .mpeg .wmv .mkv .mp3 .mp4 .mov .hmt .m4v .m4a}
+set include {.ts .avi .mpg .mpeg .wmv .mkv .mp3 .mp4 .mov .hmt .m4v .m4a .webm}
if {![dict exists $env SCRIPT_NAME]} {
set env(SCRIPT_NAME) ""
@@ -139,6 +139,14 @@ proc entry {file} {{i 0}} {
set img Video_Failed
}
set omenu opt
+ if {[$ts get definition] eq ""} {
+ set type gen
+ set ts 0
+ set img Video_Other
+ set omenu oopt
+ } else {
+ set omenu opt
+ }
if {[file exists "${base}.thm"]} { set thmok 1 }
} elseif {$ext eq ".hmt"} {
if {[file exists "${base}.ts"]} { return }