Prevent auto switching to TV Guide when channel list selected
This commit is contained in:
parent
726facf657
commit
d65a57cbde
|
@ -60,8 +60,9 @@ sub loadInitialItems()
|
||||||
'For LiveTV, we want to "Fit" the item images, not zoom
|
'For LiveTV, we want to "Fit" the item images, not zoom
|
||||||
m.top.imageDisplayMode = "scaleToFit"
|
m.top.imageDisplayMode = "scaleToFit"
|
||||||
|
|
||||||
if get_user_setting("display.livetv.landing") = "guide"
|
if get_user_setting("display.livetv.landing") = "guide" and m.options.view <> "livetv"
|
||||||
showTvGuid()
|
print "Showing Guid from Init"
|
||||||
|
showTvGuide()
|
||||||
end if
|
end if
|
||||||
|
|
||||||
else if m.top.parentItem.collectionType = "CollectionFolder" or m.top.parentItem.collectionType = "boxsets" or m.top.parentItem.Type = "Folder" or m.top.parentItem.Type = "Channel"
|
else if m.top.parentItem.collectionType = "CollectionFolder" or m.top.parentItem.collectionType = "boxsets" or m.top.parentItem.Type = "Folder" or m.top.parentItem.Type = "Channel"
|
||||||
|
@ -288,7 +289,7 @@ end sub
|
||||||
sub optionsClosed()
|
sub optionsClosed()
|
||||||
|
|
||||||
if m.options.view = "tvGuide"
|
if m.options.view = "tvGuide"
|
||||||
showTVGuid()
|
showTVGuide()
|
||||||
return
|
return
|
||||||
else if m.tvGuide <> invalid
|
else if m.tvGuide <> invalid
|
||||||
' Try to hide the TV Guide
|
' Try to hide the TV Guide
|
||||||
|
@ -315,7 +316,7 @@ sub optionsClosed()
|
||||||
m.itemGrid.setFocus(true)
|
m.itemGrid.setFocus(true)
|
||||||
end sub
|
end sub
|
||||||
|
|
||||||
sub showTVGuid()
|
sub showTVGuide()
|
||||||
m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring
|
m.top.signalBeacon("EPGLaunchInitiate") ' Required Roku Performance monitoring
|
||||||
if m.tvGuide = invalid
|
if m.tvGuide = invalid
|
||||||
m.tvGuide = createObject("roSGNode", "Schedule")
|
m.tvGuide = createObject("roSGNode", "Schedule")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user