Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
btray77
Visitor

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
Visitor

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
Visitor

Re: Disable ScreenSaver Options

Thank you!

-Brad
0 Kudos
RokuJoel
Binge Watcher

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
Channel Surfer

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
Roku Guru

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.