#!/mod/bin/jimsh
package require cgi
source /mod/webif/lib/setup
require ts.class pretty_size
jqplugin enadis
jscss script.js
header
set rfile [cgi_get file]
set ts [ts fetch $rfile]
set dir [file dirname $rfile]
set len [$ts duration 1]
lassign [$ts bookmarks] book
if {$book eq ""} { set book 0 }
set pos [cgi_get pos $book]
set pos $($pos + 0)
if {$pos < 0} { set pos 0 }
puts "