Forum Discussion

btray77's avatar
btray77
Visitor
13 years ago

Disable ScreenSaver Options

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

Thanks

7 Replies

  • renojim's avatar
    renojim
    Community Streaming Expert
    You can implement your own screensaver within your channel or periodically send key presses via ECP to keep the screensaver from activating.

    -JT
  • How do I send key presses via ECP in BrightScript?

    Thanks

    -Brad
  • renojim's avatar
    renojim
    Community Streaming Expert
    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
  • 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
  • andro23's avatar
    andro23
    Channel Surfer

    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)?

    • Komag's avatar
      Komag
      Roku Guru

      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.