jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2011
04:15 PM
launch params - what app is currently running
If we send launch params to the roku, it will relaunch the app, even if it is already running. What if I want to know if I want to send the launch command, or just send some parameters to the currently running app, is there a way to tell if something is running?
- Joel
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
7 REPLIES 7
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2011
04:47 PM
Re: launch params - what app is currently running
I believe that's what the new socket components are for.
-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.
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2011
05:13 PM
Re: launch params - what app is currently running
hmm - the socket example app crashes on load...
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2011
05:34 PM
Re: launch params - what app is currently running
I haven't tried it and to be honest I know very little about sockets. I just thought they were a way to connect to your channel while it's running.
Edit: Ok, I tried it and it looks like the firmware and documentation aren't ready for prime time. If the server will bind to a port, which happened like once out of a dozen tries, SetMessagePort isn't a valid function (and neither is GetID, by the way). Looks like we'll have to wait on this one.
-JT
Edit: Ok, I tried it and it looks like the firmware and documentation aren't ready for prime time. If the server will bind to a port, which happened like once out of a dozen tries, SetMessagePort isn't a valid function (and neither is GetID, by the way). Looks like we'll have to wait on this one.
-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.
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2011
07:15 PM
Re: launch params - what app is currently running
My limited examination turned out the same way. I think the interface components available may actually differ depending on how it's created, but I haven't had a chance to revisit it.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2011
08:43 PM
Re: launch params - what app is currently running
I thought the same thing, but I don't know of any other components that behave that way.
-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.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011
05:23 PM
Re: launch params - what app is currently running
"jbrave" wrote:
If we send launch params to the roku, it will relaunch the app, even if it is already running. What if I want to know if I want to send the launch command, or just send some parameters to the currently running app, is there a way to tell if something is running
Yeah, that functionality is missing in ECP. I already proposed extension here viewtopic.php?f=34&t=38144&p=249414#p249414 - but perhaps illustrate with example:
Query
GET /query/channel HTTP/1.0
Response
Content-Type:text/plain; charset=UTF-8
<... etc headers >
12
12 being Netflix - ok, we know what's running now. No channel (main menu) will return 0 or some such
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2011
10:14 AM
Re: launch params - what app is currently running
Any attention on this, Roku*?