2011-06-14 11:48:55 +00:00
|
|
|
#!/mod/bin/jimsh
|
|
|
|
|
|
|
|
package require cgi
|
2012-05-21 20:23:41 +00:00
|
|
|
source /mod/webif/lib/setup
|
2012-10-30 18:58:54 +00:00
|
|
|
require ts.class pretty_size system.class settings.class escape browse.class
|
2011-06-14 11:48:55 +00:00
|
|
|
|
|
|
|
puts "Content-Type: text/html"
|
|
|
|
puts ""
|
|
|
|
|
2011-11-28 15:24:38 +00:00
|
|
|
set nicesplice [system pkginst nicesplice]
|
2011-12-12 23:45:58 +00:00
|
|
|
set flatten [system pkginst flatten]
|
2011-11-28 15:24:38 +00:00
|
|
|
|
2012-01-08 20:54:07 +00:00
|
|
|
set ignore {.nts .thm .hmi}
|
|
|
|
set include {.ts .avi .mpg .mpeg .wmv .mkv .mp3 .mp4 .mov .hmt}
|
2011-06-16 03:10:41 +00:00
|
|
|
|
2011-06-14 11:48:55 +00:00
|
|
|
cgi_input
|
|
|
|
#cgi_dump
|
|
|
|
|
2011-12-13 21:00:27 +00:00
|
|
|
if {![dict exists $env REQUEST_URI]} {
|
|
|
|
set env(REQUEST_URI) ""
|
2011-12-12 23:45:58 +00:00
|
|
|
set _cgi(dir) "/media/My Video/"
|
|
|
|
}
|
2011-06-16 03:10:41 +00:00
|
|
|
|
2011-12-06 00:13:41 +00:00
|
|
|
if {![dict exists $env QUERY_STRING]} { set env(QUERY_STRING) "root" }
|
|
|
|
|
|
|
|
set order [cgi_get order -]
|
|
|
|
if {$order eq "-"} {
|
|
|
|
set order [[settings new] sortorder]
|
|
|
|
} else {
|
|
|
|
[settings new] sortorder $order
|
|
|
|
}
|
|
|
|
|
2012-01-22 19:47:47 +00:00
|
|
|
set model [system model]
|
2012-01-14 00:12:07 +00:00
|
|
|
set dustbin [system dustbin 1]
|
|
|
|
|
2012-06-15 21:34:07 +00:00
|
|
|
proc icon {img {hover ""} {extra ""} {class "va"}} {
|
|
|
|
puts -nonewline "<img src=$img class=\"$class\" height=21 $extra"
|
2012-01-25 23:19:57 +00:00
|
|
|
if {$hover ne ""} {
|
|
|
|
puts -nonewline " alt=\"$hover\" title=\"$hover\""
|
|
|
|
}
|
|
|
|
puts ">"
|
|
|
|
}
|
|
|
|
|
2012-06-15 21:34:07 +00:00
|
|
|
proc directory {file bfile tbfile} {
|
2011-06-16 03:10:41 +00:00
|
|
|
puts "<div class=va>"
|
2012-01-13 21:34:24 +00:00
|
|
|
set img "/images/711_1_09_Media_Folder.png"
|
2012-01-14 00:12:07 +00:00
|
|
|
if {$bfile eq $::dustbin} { set img "/img/Dustbin_Folder.png" }
|
2012-01-13 21:34:24 +00:00
|
|
|
puts "<img border=0 class=va id=\"img$tbfile\" src=$img>"
|
2011-12-05 21:44:30 +00:00
|
|
|
puts "<input class=\"fs fsdir\" type=checkbox>"
|
2011-12-09 10:11:41 +00:00
|
|
|
puts "<a class=dbf
|
|
|
|
href=\"$::env(REQUEST_URI)?dir=[cgi_quote_url $file]\"
|
2011-12-14 13:55:58 +00:00
|
|
|
file=\"[cgi_quote_url $file]\">"
|
2011-06-25 20:59:50 +00:00
|
|
|
puts "$bfile</a><span class=filesize id=\"$tbfile\">
|
2011-12-09 10:11:41 +00:00
|
|
|
</span>"
|
2011-12-12 23:45:58 +00:00
|
|
|
|
2012-10-30 18:58:54 +00:00
|
|
|
lassign [{dir iconset} $file] icons attrs
|
2012-06-13 23:21:34 +00:00
|
|
|
|
2012-10-30 18:58:54 +00:00
|
|
|
puts [join $icons ""]
|
2012-06-13 23:21:34 +00:00
|
|
|
|
2011-12-12 23:45:58 +00:00
|
|
|
puts -nonewline "
|
2011-12-09 10:11:41 +00:00
|
|
|
<a href=#>
|
2011-12-12 23:45:58 +00:00
|
|
|
<img class=\"dopt va\" border=0 width=45 "
|
2012-10-30 18:58:54 +00:00
|
|
|
puts -nonewline [join $attrs " "]
|
2011-12-12 23:45:58 +00:00
|
|
|
puts "
|
2011-12-09 10:11:41 +00:00
|
|
|
src=/images/181_1_00_Help5_OPT_Plus.png>
|
|
|
|
</a>
|
2011-12-12 23:45:58 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
puts "
|
2011-12-09 10:11:41 +00:00
|
|
|
<div class=\"results blood\" style=\"margin: 0 0 0 5em\"></div>
|
|
|
|
"
|
|
|
|
puts "</div>"
|
2011-06-16 03:10:41 +00:00
|
|
|
}
|
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
proc entry {file} {{i 0}} {
|
|
|
|
set bfile [file tail $file]
|
2012-06-15 21:34:07 +00:00
|
|
|
regsub -all " +" $bfile "" tbfile
|
2011-06-16 03:10:41 +00:00
|
|
|
if {[string index $bfile 0] == "\025"} {
|
|
|
|
set bfile [string range $bfile 1 end]
|
|
|
|
}
|
|
|
|
if [file isdirectory "$file"] {
|
2012-06-15 21:34:07 +00:00
|
|
|
directory $file $bfile $tbfile
|
2012-10-30 18:58:54 +00:00
|
|
|
return
|
2011-06-16 03:10:41 +00:00
|
|
|
}
|
2011-06-16 23:49:48 +00:00
|
|
|
set ext [file extension $file]
|
2012-10-30 18:58:54 +00:00
|
|
|
if {$ext in $::ignore || $ext ni $::include} { return }
|
2011-06-22 23:36:30 +00:00
|
|
|
|
2011-06-25 20:59:50 +00:00
|
|
|
file stat $file st
|
2012-02-06 23:28:53 +00:00
|
|
|
set rsz $st(size)
|
|
|
|
set sz [pretty_size $rsz]
|
2011-06-25 20:59:50 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
set base [file rootname $file]
|
|
|
|
|
|
|
|
if {$ext eq ".ts" && [file exists "${base}.nts"]} {
|
|
|
|
set type ts
|
2011-06-25 20:59:50 +00:00
|
|
|
set ts [ts fetch $file 1]
|
2011-07-08 20:39:57 +00:00
|
|
|
set img Video_TS
|
2012-06-10 21:16:22 +00:00
|
|
|
set omenu opt
|
2012-01-08 20:54:07 +00:00
|
|
|
} elseif {$ext eq ".hmt"} {
|
|
|
|
if {[file exists "${base}.ts"]} { continue }
|
|
|
|
# Sole hmt file indicates failure to track.
|
|
|
|
set type bad
|
|
|
|
set ts 0
|
|
|
|
set img Video_Failed
|
2012-06-10 21:16:22 +00:00
|
|
|
set omenu oopt
|
2011-06-22 23:36:30 +00:00
|
|
|
} else {
|
|
|
|
set type gen
|
|
|
|
set ts 0
|
2011-07-08 20:39:57 +00:00
|
|
|
set img Video_Other
|
2012-06-10 21:16:22 +00:00
|
|
|
set omenu oopt
|
2011-06-16 03:10:41 +00:00
|
|
|
}
|
2011-06-14 11:48:55 +00:00
|
|
|
|
2011-06-27 19:57:32 +00:00
|
|
|
set new 0
|
|
|
|
if {$type eq "ts"} {
|
|
|
|
if {[$ts flag "New"] > 0} { set new 1 }
|
2012-01-08 20:54:07 +00:00
|
|
|
} elseif {$type eq "gen"} {
|
|
|
|
if {![file exists "${base}.hmi"]} { set new 1 }
|
2011-06-27 19:57:32 +00:00
|
|
|
}
|
|
|
|
|
2011-07-08 20:39:57 +00:00
|
|
|
if {$new} { append img _New }
|
|
|
|
|
2011-11-27 23:29:14 +00:00
|
|
|
set fscl "fs"
|
2012-01-18 00:02:55 +00:00
|
|
|
set synopsis ""
|
2011-11-27 23:29:14 +00:00
|
|
|
if {$type eq "ts"} {
|
|
|
|
set fscl "fs fsts"
|
2012-01-18 00:02:55 +00:00
|
|
|
set synopsis [cgi_quote_html [$ts get synopsis]]
|
2011-11-27 23:29:14 +00:00
|
|
|
}
|
2011-06-27 19:57:32 +00:00
|
|
|
|
|
|
|
puts "
|
2011-11-27 23:29:14 +00:00
|
|
|
<div class=\"va bf\" id=[incr i]>
|
|
|
|
<img class=va border=0 src=/img/$img.png>
|
|
|
|
<input class=\"$fscl\" type=checkbox>
|
2012-01-18 00:02:55 +00:00
|
|
|
<a class=bf title=\"$synopsis\"
|
|
|
|
file=\"[cgi_quote_url $file]\" type=$type href=#>
|
2011-11-27 23:29:14 +00:00
|
|
|
$bfile
|
|
|
|
</a>
|
2011-06-22 23:36:30 +00:00
|
|
|
"
|
|
|
|
|
2011-06-25 20:59:50 +00:00
|
|
|
# Size
|
|
|
|
puts "<span class=filesize> ($sz) </span>"
|
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
# Icons
|
|
|
|
|
|
|
|
set locked 0
|
2011-11-12 11:12:07 +00:00
|
|
|
set encd 0
|
|
|
|
set odencd 1
|
2011-07-08 20:39:57 +00:00
|
|
|
set def unknown
|
2011-11-03 23:43:17 +00:00
|
|
|
set bx 0
|
2012-01-22 19:47:47 +00:00
|
|
|
set dlna 0
|
2011-06-22 23:36:30 +00:00
|
|
|
if {$type eq "ts"} {
|
|
|
|
# HD / SD
|
|
|
|
if {[$ts get definition] eq "HD"} {
|
2011-07-08 20:39:57 +00:00
|
|
|
set def HD
|
2011-06-22 23:36:30 +00:00
|
|
|
set img "172_1_00_HD"
|
|
|
|
} else {
|
2011-07-08 20:39:57 +00:00
|
|
|
set def SD
|
2011-06-22 23:36:30 +00:00
|
|
|
set img "172_1_26_SD"
|
|
|
|
}
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/images/$img.png"
|
2011-06-14 11:48:55 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
# Locked
|
|
|
|
if {[$ts flag "Locked"] > 0} {
|
|
|
|
set locked 1
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/images/178_1_00_Icon_Lock.png" "Locked"
|
2011-06-16 03:10:41 +00:00
|
|
|
}
|
2011-06-27 19:57:32 +00:00
|
|
|
|
|
|
|
# Encrypted
|
|
|
|
if {[$ts flag "Encrypted"] > 0} {
|
2011-07-08 20:39:57 +00:00
|
|
|
set encd 1
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/images/749_1_26_Video_Encryption.png" ""
|
2011-06-27 19:57:32 +00:00
|
|
|
}
|
2011-11-06 16:34:30 +00:00
|
|
|
if {![$ts flag "ODEncrypted"]} {
|
|
|
|
set odencd 0
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/img/Decrypted.png" "Decrypted"
|
2011-11-04 00:55:13 +00:00
|
|
|
}
|
2011-06-27 19:57:32 +00:00
|
|
|
|
|
|
|
# Guidance
|
|
|
|
if {[$ts flag "Guidance"] > 0} {
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/images/174_1_26_GuidancePolicy.png"
|
2011-06-27 19:57:32 +00:00
|
|
|
}
|
2011-11-03 23:43:17 +00:00
|
|
|
|
2012-01-22 19:47:47 +00:00
|
|
|
# Indexed
|
|
|
|
if {$::model eq "HDR" && [llength [$ts dlnaloc]]} {
|
2012-01-25 23:19:57 +00:00
|
|
|
icon "/img/dlna.png" "Indexed by DLNA Server"
|
2012-01-22 19:47:47 +00:00
|
|
|
set dlna 1
|
|
|
|
}
|
|
|
|
|
2012-06-15 21:34:07 +00:00
|
|
|
# Shrunk (shown when necessary via Ajax)
|
|
|
|
icon "/img/compress.png" "Shrunk" \
|
|
|
|
"id=\"sp_$tbfile\"" "va hidden"
|
2012-06-24 20:45:07 +00:00
|
|
|
# Timeshifted (shown when necessary via Ajax)
|
|
|
|
icon "/img/clock.png" "Time-shifted Recording" \
|
|
|
|
"id=\"tsr_$tbfile\"" "va hidden"
|
2012-06-15 21:34:07 +00:00
|
|
|
|
2011-11-03 23:43:17 +00:00
|
|
|
set bx [$ts get bookmarks]
|
2011-06-14 11:48:55 +00:00
|
|
|
}
|
2011-06-16 03:10:41 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
# Opt+ button
|
2011-06-16 03:10:41 +00:00
|
|
|
|
2011-06-14 11:48:55 +00:00
|
|
|
puts "
|
2011-06-22 23:36:30 +00:00
|
|
|
<a href=#>
|
2012-06-10 21:16:22 +00:00
|
|
|
<img class=\"$omenu va\" border=0 width=45 type=$type did=$i
|
2011-11-03 23:43:17 +00:00
|
|
|
locked=$locked encd=$encd def=$def new=$new bx=$bx
|
2012-02-06 23:28:53 +00:00
|
|
|
rsize=$rsz
|
2012-01-22 19:47:47 +00:00
|
|
|
odencd=$odencd dlna=$dlna
|
2011-06-22 23:36:30 +00:00
|
|
|
src=/images/181_1_00_Help5_OPT_Plus.png>
|
|
|
|
</a>
|
|
|
|
<div class=\"results blood\" style=\"margin: 0 0 0 5em\"></div>
|
2011-06-14 11:48:55 +00:00
|
|
|
"
|
2011-06-22 23:36:30 +00:00
|
|
|
puts "</div>"
|
2011-06-14 11:48:55 +00:00
|
|
|
}
|
|
|
|
|
2011-11-03 23:43:17 +00:00
|
|
|
set dir [cgi_get dir [system mediaroot]]
|
2011-06-14 11:48:55 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
######################################################################
|
|
|
|
# Render web page
|
2011-06-16 23:49:48 +00:00
|
|
|
|
2011-07-01 22:56:53 +00:00
|
|
|
header
|
2011-06-16 03:10:41 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
puts {
|
|
|
|
<link href=/css/jquery.contextMenu.css rel=stylesheet type=text/css />
|
2012-03-31 21:16:31 +00:00
|
|
|
<script type=text/javascript src=/js/jquery.contextMenu.js></script>
|
2011-12-28 21:36:35 +00:00
|
|
|
<link href=/css/jquery.bar.css rel=stylesheet type=text/css />
|
2012-03-31 21:16:31 +00:00
|
|
|
<script type=text/javascript src=/js/jquery.bar.js></script>
|
2012-02-22 01:14:12 +00:00
|
|
|
<script type=text/javascript src=/js/enadis.js></script>
|
2011-06-22 23:36:30 +00:00
|
|
|
<script type=text/javascript src=/cgi-bin/browse/browse.js></script>
|
2011-12-28 14:11:10 +00:00
|
|
|
<link type=text/css rel=stylesheet href=/cgi-bin/browse/style.css />
|
2011-06-14 11:48:55 +00:00
|
|
|
}
|
|
|
|
|
2012-05-21 20:23:41 +00:00
|
|
|
source browse/assets.jim
|
2011-06-25 20:59:50 +00:00
|
|
|
|
|
|
|
puts "
|
2011-12-28 21:36:35 +00:00
|
|
|
<span style=\"display:none\" id=dir>$dir</span>
|
2011-12-28 14:11:10 +00:00
|
|
|
<fieldset class=cleft style=\"margin: 0 1em 1em 1em\">
|
2011-06-25 20:59:50 +00:00
|
|
|
<legend style=\"font-size: 1.5em; padding: 0 0.5em 0.5em 0.5em;\">
|
|
|
|
"
|
2011-12-28 14:11:10 +00:00
|
|
|
|
|
|
|
# Breadcrumb path
|
2011-06-14 11:48:55 +00:00
|
|
|
set stub ""
|
|
|
|
foreach part [split $dir /] {
|
|
|
|
if {$stub eq "/"} { set name $part } else { set name "/$part" }
|
|
|
|
append stub $name
|
|
|
|
puts "<a href=$env(REQUEST_URI)?dir=[cgi_quote_url $stub]>$name</a>
|
|
|
|
}
|
2011-06-27 21:59:07 +00:00
|
|
|
puts "<span class=filesize id=dirsize></span>"
|
2011-06-25 20:59:50 +00:00
|
|
|
puts "</legend>"
|
2011-06-14 11:48:55 +00:00
|
|
|
|
2011-06-22 23:36:30 +00:00
|
|
|
# Parent directory
|
2011-06-14 11:48:55 +00:00
|
|
|
set parent [join [lrange [split $dir /] 0 end-1] /]
|
|
|
|
if {$parent ne ""} {
|
|
|
|
puts "
|
2011-06-16 03:10:41 +00:00
|
|
|
<div class=va>
|
2011-06-14 11:48:55 +00:00
|
|
|
<a href=$env(REQUEST_URI)?dir=[cgi_quote_url $parent]>
|
2011-07-07 22:33:19 +00:00
|
|
|
<img border=0 src=/images/711_3_09_Media_Folder_UP.png class=va>
|
2011-06-14 11:48:55 +00:00
|
|
|
\[parent directory\]</a>
|
|
|
|
</div>
|
|
|
|
"
|
|
|
|
}
|
|
|
|
|
2011-12-06 00:13:41 +00:00
|
|
|
proc s_time {a b} {
|
2012-02-05 22:49:27 +00:00
|
|
|
global dir
|
|
|
|
|
|
|
|
set a "$dir/$a"
|
|
|
|
set b "$dir/$b"
|
|
|
|
|
2011-12-06 00:13:41 +00:00
|
|
|
set ad [file isdirectory $a]
|
|
|
|
set bd [file isdirectory $b]
|
|
|
|
|
|
|
|
if {$ad && !$bd} { return -1 }
|
|
|
|
if {$bd && !$ad} { return 1 }
|
|
|
|
if {$ad && $bd} {
|
|
|
|
if {$a < $b} { return -1 }
|
|
|
|
if {$a > $b} { return 1 }
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2012-08-07 20:25:13 +00:00
|
|
|
if {[catch {file stat $a l}]} { return 0}
|
2011-12-06 00:13:41 +00:00
|
|
|
set at $l(ctime)
|
2012-08-07 20:25:13 +00:00
|
|
|
if {[catch {file stat $b l}]} { return 0}
|
2011-12-06 00:13:41 +00:00
|
|
|
set bt $l(ctime)
|
|
|
|
|
|
|
|
if {$at < $bt} { return -1 }
|
|
|
|
if {$at > $bt} { return 1 }
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2012-02-01 21:02:43 +00:00
|
|
|
set files [readdir -nocomplain $dir]
|
2011-12-06 00:13:41 +00:00
|
|
|
switch $order {
|
|
|
|
1 { set files [lsort -command s_time $files] }
|
|
|
|
default { set files [lsort $files] }
|
2011-06-14 11:48:55 +00:00
|
|
|
}
|
|
|
|
|
2012-02-01 21:02:43 +00:00
|
|
|
foreach file $files { entry "$dir/$file" }
|
2011-12-06 00:13:41 +00:00
|
|
|
|
2011-12-05 21:44:30 +00:00
|
|
|
puts "<a href=# id=selectall>Select all</a> | <a href=# id=deselectall>none</a>"
|
2011-11-28 15:24:38 +00:00
|
|
|
|
2011-12-06 00:13:41 +00:00
|
|
|
# Sort icons
|
|
|
|
puts "<div id=sortdiv>"
|
|
|
|
set sortlist {{0 sort_name name} {1 sort_date date}}
|
|
|
|
foreach sl $sortlist {
|
|
|
|
lassign $sl index img descr
|
|
|
|
|
|
|
|
if {$index} { puts " | " }
|
|
|
|
|
|
|
|
set tag "Currently sorting"
|
|
|
|
if {$order != $index} {
|
|
|
|
puts "
|
|
|
|
<a href=$env(REQUEST_URI)?$env(QUERY_STRING)&order=$index>"
|
|
|
|
set tag "Sort"
|
|
|
|
}
|
|
|
|
puts "<img class=va border=0 src=/img/$img.gif> $tag by $descr"
|
|
|
|
if {$order != $index} {
|
|
|
|
puts "</a>"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
puts "</div>"
|
|
|
|
|
2011-06-25 20:59:50 +00:00
|
|
|
puts "</fieldset>"
|
2011-06-14 11:48:55 +00:00
|
|
|
|
2011-12-28 14:11:10 +00:00
|
|
|
puts {
|
|
|
|
<fieldset class=left style="margin: 0 1em 1em 1em">
|
|
|
|
<legend style="font-size: 1.5em; padding: 0 0.5em 0.5em 0.5em; color: #1e5bbd;">
|
|
|
|
File Clipboard
|
|
|
|
</legend>
|
|
|
|
<div id=clipboard>
|
|
|
|
<img src=/img/loading.gif> <i>Loading...</i>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
}
|
|
|
|
|
2011-11-28 15:24:38 +00:00
|
|
|
puts "<div class=brow>"
|
2011-10-03 22:47:44 +00:00
|
|
|
|
|
|
|
puts {
|
2011-12-29 00:57:18 +00:00
|
|
|
<button id=copy>Copy</button>
|
|
|
|
<button id=cut>Cut</button>
|
2011-11-28 15:24:38 +00:00
|
|
|
<button id=delete>Delete</button>
|
2011-12-29 00:57:18 +00:00
|
|
|
<button id=newdir>New Folder</button>
|
2011-12-05 21:44:30 +00:00
|
|
|
<div id=deletewait class=blood style="display: none">
|
|
|
|
<img src=/img/loading.gif>Deleting may take some time, please be patient...
|
|
|
|
</div>
|
2011-10-03 22:47:44 +00:00
|
|
|
}
|
|
|
|
|
2011-11-27 23:29:14 +00:00
|
|
|
# Join
|
2011-11-28 15:24:38 +00:00
|
|
|
if $nicesplice {
|
2011-11-27 23:29:14 +00:00
|
|
|
puts { <button id=join>Join</button> }
|
|
|
|
}
|
|
|
|
|
2011-11-28 15:24:38 +00:00
|
|
|
puts "</div><div class=brow style=\"margin-top: 3px\">"
|
|
|
|
|
|
|
|
# De-duplicate
|
|
|
|
|
|
|
|
puts {
|
|
|
|
<button id=dedup>De-duplicate/tidy this folder</button>
|
|
|
|
}
|
|
|
|
|
2011-10-03 22:47:44 +00:00
|
|
|
# Streamer file
|
|
|
|
|
|
|
|
if {[file exists /mnt/hd3/Streamer_down_file]} {
|
2011-11-28 15:24:38 +00:00
|
|
|
puts {
|
|
|
|
<button id=save_stream file=/mnt/hd3/Streamer_down_file>
|
|
|
|
Save last streamed content (e.g. iPlayer/YouTube)
|
2012-11-05 22:36:04 +00:00
|
|
|
<div id=streamstatus></div>
|
2011-11-28 15:24:38 +00:00
|
|
|
</button>
|
|
|
|
}
|
2011-10-03 22:47:44 +00:00
|
|
|
}
|
|
|
|
|
2011-11-28 15:24:38 +00:00
|
|
|
puts "</div>"
|
|
|
|
|
2011-07-01 22:56:53 +00:00
|
|
|
footer
|
2011-06-14 11:48:55 +00:00
|
|
|
|