forked from hummypkg/webif
show 20 minutes upcoming, tweak dedup reserve
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1270 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
6ff5b7a8e3
commit
4ce9701792
@ -7,7 +7,7 @@ require system.class findhsvc epg.class rsv.class
|
|||||||
set runmode cli
|
set runmode cli
|
||||||
if {[string match {*jim} $argv0]} { set runmode cgi }
|
if {[string match {*jim} $argv0]} { set runmode cgi }
|
||||||
|
|
||||||
set schedtime 900
|
set schedtime 1200
|
||||||
case $runmode {
|
case $runmode {
|
||||||
cgi {
|
cgi {
|
||||||
cgi_input
|
cgi_input
|
||||||
|
@ -65,7 +65,7 @@ proc dedupnormalise {title {reserve ""}} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# if still short, add the reserve string.
|
# if still short, add the reserve string.
|
||||||
if {[string length $title] < 10} {
|
if {[string length $title] < 6} {
|
||||||
if {[string match "${title}*" $reserve]} {
|
if {[string match "${title}*" $reserve]} {
|
||||||
set title $reserve
|
set title $reserve
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user