Forum Discussion

casolorz's avatar
casolorz
Roku Guru
6 years ago

How to keep the screen on when displaying photos?

I have a phone app that is sending a photo slideshow to the Roku however the screensaver kicks in after a bit of time. How can I make it so the screensaver timer resets each time I update the photo?

 

Thanks.

 

21 Replies

  • renojim's avatar
    renojim
    Community Streaming Expert

    So the app is running on your phone or you have a Roku app/channel that's displaying the slideshow or both?  Is this just for your own use?

    • casolorz's avatar
      casolorz
      Roku Guru

      I'm the developer of the app. The app sends the pictures to the roku channel. The roku channel shows whatever pictures the phone app sends. 

      This is a released app and channel, not just for my personal use. 

      • renojim's avatar
        renojim
        Community Streaming Expert

        I'm still a little confused.  It doesn't help that there's a channel called "The Roku Channel", but I assume that's not what you're sending the pictures to.  There's a function to update the last remote key press timer, but it now appears to be undocumented, so use it at your own risk.  It will also throw an error (not just a warning, like it should) in the Static Analysis report, so be prepared to explain why you're using it in the notes when you submit your update.  Yours is the perfect case of why this function is necessary.

        appmgr = CreateObject("roAppManager")
        appmgr.UpdateLastKeyPressTime()  ' <- call with every photo change or periodically
  • Anonymous's avatar
    Anonymous

    FYI, I sent an email to Roku tech support regarding the same issue (and more) with their own Roku Media Player version 5.0. Their response was to publish the 4.0 version as the upgrade to 5.0. IOW, they pulled it.

    If RMP v5.0 reappears without the problem of the screensavers interrupting slideshows (they don't interrupt video streams), maybe you could check yours again without the workaround. FWIW.

    https://community.roku.com/t5/Roku-Device-Features-Settings-Updates/Roku-Media-Player-5-0-broken/td-p/563345

    • casolorz's avatar
      casolorz
      Roku Guru

      Thanks for updating me on that, I'll keep an eye on it. 

    • renojim's avatar
      renojim
      Community Streaming Expert

      Anonymous wrote:

      If RMP v5.0 reappears without the problem of the screensavers interrupting slideshows (they don't interrupt video streams), maybe you could check yours again without the workaround. FWIW.

      I suspect if it reappears without the problem then they implemented the workaround.  😄

      • necrotek's avatar
        necrotek
        Roku Guru

        Have you considered making your channel use the screensaver to display the photos?