#!/mod/bin/jimsh source /mod/var/mongoose/lib/setup require altrow rsv.class progressbar set events [rsv list] puts {
Channel | Programme | Start Time | Duration | Mode | Event/Series ID | Events | [$event get usLcn] | [$event get szSvcName] | " } else { puts " | "
}
puts "$name | " set s [$event get nsttime] set d [$event get nduration] set e $($s + $d) set n [clock seconds] if { $n > $e } { puts "" } else { puts " | "
}
puts "[clock format $s -format {%c %Z}]"
if {$d > 0 && $n > $s && $n < $e} {
puts " " set perc [expr [expr $n - $s] * 100 / $d] puts "" puts [progressbar $perc] } puts " | "
puts "[clock format [$event get nduration] -format %T] | " puts "$rsvicon $RKIcon | " puts "" set crid [join [lrange [split [$event get szCRID] /] 1 end]] if {$crid != ""} { puts -nonewline " [$event get szCRID]" puts "" } puts " | " puts ""
set flag 0
foreach ev [split [$event get szEventToRecord] "|"] {
if {$ev eq ""} { continue }
set ev [string range $ev 1 end]
if {$flag} { puts " " } incr flag set crid [join [lrange [split $ev /] 1 end]] puts -nonewline " $ev" puts "" } puts " | "
puts ""
}
puts "
---|