git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1922 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-05-28 21:29:10 +00:00
parent f029ab1ce6
commit bf67161898
5 changed files with 19 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Package: webif
Priority: optional
Section: web
Version: 1.0.13-3
Version: 1.0.13-4
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.11),lighttpd(>=1.4.35-2),jim(>=0.75-1),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),mongoose

View File

@ -45,7 +45,7 @@ puts {
$(document).ready(function() {
$('#progressbar').reportprogress(0);
handle = setInterval("update()", 350);
handle = setInterval("update()", 400);
$.get('/cgi-bin/restart.jim?now=yes');
});
</script>

View File

@ -291,13 +291,16 @@ function preparemenu(el, menu)
else
$(menu).disableContextMenuItems('#thm');
if (el.attr('shrunk') == 0)
$(menu).enableContextMenuItems('#strip');
else
$(menu).disableContextMenuItems('#strip');
if (el.attr('thmok') == 1)
$(menu).enableContextMenuItems('#vthm');
else
$(menu).disableContextMenuItems('#vthm');
$(menu).enableContextMenuItems('#strip');
if (el.attr('rsize') > 4294967296)
$(menu).enableContextMenuItems('#chunk');
else
@ -309,7 +312,6 @@ function preparemenu(el, menu)
else
$(menu).changeContextMenuItem('#new', 'Mark new');
$(menu).enableContextMenuItems('#lock');
if (el.attr('locked') == 1)
{

View File

@ -259,6 +259,11 @@ proc do_decrypt {ts} {
return
}
if {[$ts flag "Encrypted"]} {
log " $file - Protected (Enc flag)." 2
return
}
lassign [$ts dlnaloc "127.0.0.1"] url
if {$url eq ""} {
log " $file - Not yet indexed."

View File

@ -380,3 +380,10 @@ proc {system display} {hdr hd} {
}
}
proc {system uptime} {} {
set fd [open /proc/uptime r]
set uptime [lindex [split [read $fd]] 0]
$fd close
return $uptime
}