rru96
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2015
06:28 PM
Process Roku uses..
I was trying to find information about how to search for processes that take place in the roku source. Such as, what happens behind the scenes when Roku gets out of a screensaver. Can anyone help ? I have been going over brightscript and am chomping at the bit to put some things in code... just need an "in"
7 REPLIES 7

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
08:01 AM
Re: Process Roku uses..
I don't really understand what you're asking. When a screensaver stops running in your channel, your channel continues to run. Can you describe in more detail what you're trying to do?
--Mark
--Mark
rru96
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
08:18 AM
Re: Process Roku uses..
The idea is to use the screensaver to perform events, based on button pressed to escape the screensaver.
I was looking at creating standalone screensavers, not private c/ channel.
I was looking at creating standalone screensavers, not private c/ channel.

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
10:12 AM
Re: Process Roku uses..
A screensaver cannot perform any action based on an input key because the screensaver exits as soon as a key is pressed. See http://sdkdocs.roku.com/display/sdkdoc/Screensavers :
When a screensaver is running, any user input will simply terminate the screensaver and return to the channel which was previously running.

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
12:55 PM
Re: Process Roku uses..
Well I guess you could just create 2D "game" screens that appear to be nothing more than screensavers but really aren't, and have them do whatever you want with specific button presses
rru96
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
03:01 PM
Re: Process Roku uses..
Let me just explain the idea. Maybe someone can help out.
There were two trains of thought going along:
1) Use a screensaver, to activate code functions based on system time. i.e. Deep Embed Code to send channel code to trigger the screensaver to escape out to the preselected channel at a given time. Like an alarm. Screensaver runs in while loop, once the time is reached, it sends out a channel change code. Now, if a specific "channel change" code exists, I don't know, but I imagine sending remote control commands along with text strings can trigger to the channel if it had to. Using the screensaver settings section, you set the channel, and the time.
2) Using a remote control overlay, during the screensaver settings, you assign channels to each of the buttons. Depending on how the screensaver exits, the button pressed that is sent would allow you to automatically change to that channel directly from the screensaver.
There were two trains of thought going along:
1) Use a screensaver, to activate code functions based on system time. i.e. Deep Embed Code to send channel code to trigger the screensaver to escape out to the preselected channel at a given time. Like an alarm. Screensaver runs in while loop, once the time is reached, it sends out a channel change code. Now, if a specific "channel change" code exists, I don't know, but I imagine sending remote control commands along with text strings can trigger to the channel if it had to. Using the screensaver settings section, you set the channel, and the time.
2) Using a remote control overlay, during the screensaver settings, you assign channels to each of the buttons. Depending on how the screensaver exits, the button pressed that is sent would allow you to automatically change to that channel directly from the screensaver.
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
03:31 PM
Re: Process Roku uses..
You can launch one channel from another by issuing an ECP launch command (see 3.0 External Control Protocol Services in the External Control Guide). You can probably also program your screensaver to do this at the appropriate time.
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2015
05:59 PM
Re: Process Roku uses..
1) is possible as belltown suggests, but 2) is not. There's no way to know what button dismissed the screensaver; the rug is just pulled out from under you.
-JT
-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.
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.