From 4b7509feddd624a6d8530d97dfb6bf0234ec0382 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 1 May 2016 09:28:10 +0000 Subject: [PATCH] 1.3.0 git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2885 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 ++-- CONTROL/postinst | 3 +++ webif/html/img/context | 1 - webif/html/xepg/index.jim | 10 ++++++++++ webif/lib/epg.class | 4 ++-- 5 files changed, 17 insertions(+), 5 deletions(-) delete mode 120000 webif/html/img/context diff --git a/CONTROL/control b/CONTROL/control index 71b964ff..12f9512c 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,10 +1,10 @@ Package: webif Priority: optional Section: web -Version: 1.2.9-7 +Version: 1.3.0 Architecture: mipsel Maintainer: af123@hpkg.tv -Depends: tcpfix,webif-channelicons(>=1.1.20),lighttpd(>=1.4.39-1),jim(>=0.76-2),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1-1),hmt(>=2.0.9),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7) +Depends: tcpfix,webif-channelicons(>=1.1.22-1),lighttpd(>=1.4.39-1),jim(>=0.76-2),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1-1),hmt(>=2.0.9),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7) Suggests: Description: An evolving web interface for the Humax. Tags: http://hummy.tv/forum/threads/6484/ diff --git a/CONTROL/postinst b/CONTROL/postinst index 815198fa..8c2b4a5a 100755 --- a/CONTROL/postinst +++ b/CONTROL/postinst @@ -73,5 +73,8 @@ fi [ -f $tmpf ] && rm -f $tmpf +# Remove empty directories +find /mod/webif/ -type d -exec rmdir {} \; 2>/dev/null + exit 0 diff --git a/webif/html/img/context b/webif/html/img/context deleted file mode 120000 index 05a29b74..00000000 --- a/webif/html/img/context +++ /dev/null @@ -1 +0,0 @@ -../lib/jquery.plugin/contextMenu/images \ No newline at end of file diff --git a/webif/html/xepg/index.jim b/webif/html/xepg/index.jim index 98aee2aa..3f6629da 100755 --- a/webif/html/xepg/index.jim +++ b/webif/html/xepg/index.jim @@ -238,6 +238,16 @@ foreach e $records { if {$bg eq "odd"} { set bg "even" } else { set bg "odd" } } + if {[$e get event_id] eq ""} { + # No data for this service and time period + set px $(($ett - $stt) * $secpx) + puts "
+
+ No EPG data for this time range... +
" + continue + } + set es [$e get start] set ee [expr $es + [$e get duration]] diff --git a/webif/lib/epg.class b/webif/lib/epg.class index d63fbb18..33c90c9a 100644 --- a/webif/lib/epg.class +++ b/webif/lib/epg.class @@ -398,7 +398,7 @@ proc {epg dbfetch} {mode args} { " set from " - from epg.epg e join TBL_SVC c + from TBL_SVC c left join epg.epg e on e.service_id = c.usSvcId " @@ -430,7 +430,7 @@ proc {epg dbfetch} {mode args} { -sort { set sort "order by $v" } -trange { lassign [split $v :] stt ett - append q "and ( + append q "and (e.start is null or (e.start > $stt and e.start < $ett) or (e.end > $stt and e.end < $ett) or (e.start < $stt and e.end > $stt)