Only signal EPG Performance Monitoring events once
This commit is contained in:
parent
451be6bdf2
commit
10ca08bdf8
|
@ -323,9 +323,9 @@ sub optionsClosed()
|
|||
end sub
|
||||
|
||||
sub showTVGuide()
|
||||
m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring
|
||||
if m.tvGuide = invalid
|
||||
m.tvGuide = createObject("roSGNode", "Schedule")
|
||||
m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring
|
||||
end if
|
||||
m.tvGuide.observeField("watchChannel", "onChannelSelected")
|
||||
m.top.appendChild(m.tvGuide)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
sub init()
|
||||
|
||||
m.EPGLaunchCompleteSignaled = false
|
||||
m.scheduleGrid = m.top.findNode("scheduleGrid")
|
||||
m.detailsPane = m.top.findNode("detailsPane")
|
||||
|
||||
|
@ -55,7 +56,10 @@ sub onChannelsLoaded()
|
|||
m.LoadProgramDetailsTask.observeField("programDetails", "onProgramDetailsLoaded")
|
||||
|
||||
m.scheduleGrid.setFocus(true)
|
||||
m.top.signalBeacon("EPGLaunchComplete") ' Required Roku Performance monitoring
|
||||
if m.EPGLaunchCompleteSignaled = false
|
||||
m.top.signalBeacon("EPGLaunchComplete") ' Required Roku Performance monitoring
|
||||
m.EPGLaunchCompleteSignaled = true
|
||||
end if
|
||||
m.LoadChannelsTask.channels = []
|
||||
end sub
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user