I have a Roku Channel that plays a playlist of songs and uses observefield on the state value of the music player to detect when a song finishes in order to play the next one but when the screensaver activates the function is not called after the song ends so the next song does not play.
This might work for you: “disableScreenSaver”: Set this to true to suppress the screensaver. This is typically used to suppress the screensaver when playing audio-only streams. https://developer.roku.com/docs/references/scenegraph/media-playback-nodes/video.md
If not, you could also use ECP while audio is playing to send a keypress from within the app every 59 seconds or so, that will prevent screensaver.
“joetesta” wrote:
not, you could also use ECP while audio is playing to send a keypress from within the app every 59 seconds or so, that will prevent screensaver.
Mercifully, this trick has been replaced with the
appmanager.UpdateLastKeyPressTime()
trick.
you can also use
appmanager.GetScreensaverTimeout()
to find the interval to run it.
Is that part of this?
https://developer.roku.com/docs/references/brightscript/interfaces/ifappmanager.md
