Add webm to displayed file types
Also handle files with no "definition" as not ts.
This commit is contained in:
parent
3454302a98
commit
68d9d7f5b5
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user