diff --git a/CONTROL/control b/CONTROL/control index e059505..6ae38f7 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,10 +1,10 @@ Package: webif Priority: optional Section: web -Version: 1.0.9-5 +Version: 1.0.9-6 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.1.9),mongoose(>=3.0.11),jim(>=0.74-4),jim-oo,jim-sqlite3(>=0.74-1),jim-cgi(>=0.7),jim-binary,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),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6) +Depends: webif-channelicons(>=1.1.9),mongoose(>=3.0.11),jim(>=0.75),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),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6) Suggests: Description: An evolving web interface for the Humax. Tags: http://hummy.tv/forum/threads/4659/ diff --git a/var/mongoose/cgi-bin/epg/search.jim b/var/mongoose/cgi-bin/epg/search.jim index 4418174..08dceb7 100755 --- a/var/mongoose/cgi-bin/epg/search.jim +++ b/var/mongoose/cgi-bin/epg/search.jim @@ -88,8 +88,10 @@ proc rsort {v1 v2} { set seen {} set i 0 foreach record [lsort -command rsort $records] { + set ename [$record get name] + if {$ename eq ""} continue + if {$dedup} { - set ename [$record get name] if {$ename in $seen} continue lappend seen $ename } diff --git a/var/mongoose/cgi-bin/status.jim b/var/mongoose/cgi-bin/status.jim index 53495a4..ead89b9 100755 --- a/var/mongoose/cgi-bin/status.jim +++ b/var/mongoose/cgi-bin/status.jim @@ -8,7 +8,7 @@ set runmode cli if {[string match {*jim} $argv0]} { set runmode cgi } set schedtime 1200 -case $runmode { +switch $runmode { cgi { set type [cgi_get type "full"] httpheader diff --git a/var/mongoose/html/jim/ref.html b/var/mongoose/html/jim/ref.html index fddfea8..d2483cb 100644 --- a/var/mongoose/html/jim/ref.html +++ b/var/mongoose/html/jim/ref.html @@ -3,7 +3,7 @@ - + Jim Tcl(n)