Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
btray77
Level 7

Disable ScreenSaver Options

What kind of options do we have or can we implement to disable the screensaver in our apps?

Thanks
0 Kudos
7 REPLIES 7\
renojim
Community Streaming Expert

Re: Disable ScreenSaver Options

You can implement your own screensaver within your channel or periodically send key presses via ECP to keep the screensaver from activating.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
btray77
Level 7

Re: Disable ScreenSaver Options

How do I send key presses via ECP in BrightScript?

Thanks

-Brad
0 Kudos
renojim
Community Streaming Expert

Re: Disable ScreenSaver Options

Something like this:
ipaddrs = CreateObject("roDeviceInfo").GetIPAddrs()
if ipaddrs.eth0 <> invalid then
ipaddr = ipaddrs.eth0
end if
if ipaddrs.eth1 <> invalid then
ipaddr = ipaddrs.eth1
end if
xfer = CreateObject("roURLTransfer")
url = "http://"+ipaddr+":8060/keypress/InstantReplay"
xfer.SetUrl(url)
xfer.PostFromString("")

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
btray77
Level 7

Re: Disable ScreenSaver Options

Thank you!

-Brad
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: Disable ScreenSaver Options

Make sure if you are doing something like that, that you manage to refresh every pixel on the screen on a periodic basis so that older Plasma tv's don't suffer from burn-in.

- Joel
0 Kudos
andro23
Level 8

Re: Disable ScreenSaver Options

Roku just discontinued the support for sending ECP commands from within channels. What is the alternative now to suppress screensavers while a slideshow is playing (a set of poster nodes)?

0 Kudos
Komag
Level 10

Re: Disable ScreenSaver Options

Is there a new way to avoid screensaver coming on in this situation? My game has an autoplay portion where no buttons get pushed by the player for a while.

0 Kudos