#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require epg.class spinner.class altrow epg_search system.class noheader require totop set irinst [system pkginst ir] [spinner new { text "Loading Now/Next Information..." size "1.2em" style "margin: 1em;" }] start require epg_popup set start [clock milliseconds] set now [clock seconds] set then $($now + 14400) set s [settings] set favgroup [$s channel_group] if {$::qepg} { if {$favgroup} { set records [epg dbfetch dump \ -trange "$now:$then" -fav $favgroup] } else { set records [epg dbfetch dump -trange "$now:$then"] } } else { require channelsort set records [channelsort [epg fetch dump -trange "$now:$then"]] } set got [clock milliseconds] if {[$s chanchangenc]} { jscss /js/chanchangeenc.js } else { jqplugin confirmAction jscss /js/chanchange.js } if {[$s service_style] eq "standard"} { set surl xservice } else { set surl service } puts {
Channel | On Now | On Next | On Later | $chnum | " puts "" if {$irinst} { puts "" } puts "[$record channel_icon 50]" if {$irinst} { puts "" } puts " | [$record get channel_name] | " set lcn $chnum set num 0 } incr num if {$num < 4} { catch { puts [$record cell] } } } if {$lcn > 0} { puts "" } puts "
---|