forked from hummypkg/webif
Set watched flag on .ts files played from file browser
This commit is contained in:
parent
8bd653b84b
commit
c3992e1a17
|
@ -27,6 +27,7 @@ if {[llength $dlna]} {
|
|||
if {[file extension $file] in {.ts .TS}} {
|
||||
if {![catch {set ts [ts fetch $file]}] && $ts != 0} {
|
||||
set duration [$ts duration 1]
|
||||
$ts set_watched
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue