From 37efb8d6339a1b53118bf7ba0793d2f608b0e810 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Thu, 27 Nov 2014 22:26:36 +0000 Subject: [PATCH] tweaks git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@2064 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 ++-- webif/cgi-bin/channel.jim | 6 +++--- webif/html/epg/xservice.jim | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index b4d08b6..3b27225 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,10 +1,10 @@ Package: webif Priority: optional Section: web -Version: 1.0.17-8 +Version: 1.0.17-9 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.1.13),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(>=4.87),epg(>=1.0.13),hmt(>=1.1.21),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),tcpping(>=1.1),mongoose +Depends: webif-channelicons(>=1.1.13),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(>=4.87),epg(>=1.0.14),hmt(>=1.1.21),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),tcpping(>=1.1),mongoose Suggests: Description: An evolving web interface for the Humax. Tags: http://hummy.tv/forum/threads/5031/ diff --git a/webif/cgi-bin/channel.jim b/webif/cgi-bin/channel.jim index 10a276d..f32a215 100755 --- a/webif/cgi-bin/channel.jim +++ b/webif/cgi-bin/channel.jim @@ -64,7 +64,7 @@ foreach tw [$db query { set ehs 0 foreach chan $channels { lassign $chan x lcn x name - set name [string range $name 1 end] + set name [system strip $name] if {$lcn >= 800} { incr ehs } switch $name { "BBC THREE" { set mux "PSB1/BBC A" } @@ -104,8 +104,8 @@ foreach tw [$db query { altrow reset foreach chan $channels { lassign $chan x lcn x name x prv x auth - set name [string range $name 1 end] - set prv [string range $prv 3 end] + set name [system strip $name] + set prv [system strip $prv] altrow puts " [epg channelicon $name 50] diff --git a/webif/html/epg/xservice.jim b/webif/html/epg/xservice.jim index 3d0beee..db27d6b 100755 --- a/webif/html/epg/xservice.jim +++ b/webif/html/epg/xservice.jim @@ -55,10 +55,10 @@ puts { Time Programme Synopsis + } -set i 0 foreach record $records { altrow $record get_channel_info