forked from hummypkg/webif
1
0
Fork 0

Set watched flag on .ts files played from file browser

This commit is contained in:
prpr 2023-09-21 21:50:44 +01:00
parent 8bd653b84b
commit c3992e1a17
1 changed files with 1 additions and 0 deletions

View File

@ -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
}
}