#!/mod/bin/jimsh package require sqlite3 package require cgi source /mod/webif/lib/setup require ts.class system.class puts "Content-Type: text/html\r\n\r\n" cgi_input #cgi_dump set rfile [cgi_get file] set ts [ts fetch $rfile] set dir [file dirname $rfile] set len [$ts duration 1] header puts "
Audio Extraction
File:$rfile
Length:[clock format $len -format "%T"]
"