From 8586483474909d71437ba40bde87329a50bce95f Mon Sep 17 00:00:00 2001 From: MymsMan Date: Mon, 11 May 2020 16:26:20 +0100 Subject: [PATCH] Change scedule list to use svc.class instead of get_channel_attr_byhsvc --- webif/html/sched/list/index.jim | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webif/html/sched/list/index.jim b/webif/html/sched/list/index.jim index 38fca17..080c049 100755 --- a/webif/html/sched/list/index.jim +++ b/webif/html/sched/list/index.jim @@ -2,7 +2,7 @@ package require cgi source /mod/webif/lib/setup -require altrow rsv.class progressbar epg.class system.class +require altrow rsv.class progressbar epg.class system.class svc.class noheader set renderstart [clock milliseconds] @@ -256,9 +256,8 @@ proc eventrow {event {table TBL_RESERVATION}} { [clock format $start \ -format {%a %d %b %Y %H:%M}]" if {$service_id != [$event get hsvc]} { - set ch [system strip [\ - get_channel_attr_byhsvc \ - $service_id szSvcName]] + set svc [svc load hsvc $service_id] + set ch [$svc get szSvcName] puts "\"$ch\""