Merge pull request #485 from jdlayman/video-fixes

This commit is contained in:
Neil Burrows 2021-09-06 07:30:44 +01:00 committed by GitHub
commit 001499253b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -325,8 +325,8 @@ sub showTVGuide()
if m.tvGuide = invalid if m.tvGuide = invalid
m.tvGuide = createObject("roSGNode", "Schedule") m.tvGuide = createObject("roSGNode", "Schedule")
m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring
m.tvGuide.observeField("watchChannel", "onChannelSelected")
end if end if
m.tvGuide.observeField("watchChannel", "onChannelSelected")
m.tvGuide.filter = m.options.filter m.tvGuide.filter = m.options.filter
m.top.appendChild(m.tvGuide) m.top.appendChild(m.tvGuide)
m.tvGuide.lastFocus.setFocus(true) m.tvGuide.lastFocus.setFocus(true)

View File

@ -30,6 +30,7 @@ end sub
sub channelFilterSet() sub channelFilterSet()
print "Channel Filter set" print "Channel Filter set"
m.scheduleGrid.jumpToChannel = 0
if m.top.filter <> invalid and m.LoadChannelsTask.filter <> m.top.filter if m.top.filter <> invalid and m.LoadChannelsTask.filter <> m.top.filter
if m.LoadChannelsTask.state = "run" then m.LoadChannelsTask.control = "stop" if m.LoadChannelsTask.state = "run" then m.LoadChannelsTask.control = "stop"