Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ruug
Visitor

launch command questions

Two questions about the launch command an netflix channel:
1. will app id 12 always be netflix?
2. are there any parameters that can be supplied to the netflix app to do things like launch a particular movie? or start playing a particular movie where I left off?

Ruug
0 Kudos
3 REPLIES 3
RokuKevin
Visitor

Re: launch command questions

1. That is not guaranteed. You should query for the apps, and launch the id that matches your desired channel name.
2. That is something we've planned to add, but it's not currently available.

--Kevin
0 Kudos
Ruug
Visitor

Re: launch command questions

Thanks Kevin. Another question about the ECS. I'm trying to keep a connection open to the Roku box from my client. I find the connection drop after about 5 seconds. Does the software on the box allow me keep a connection up indefinitely?
0 Kudos
RokuKevin
Visitor

Re: launch command questions

It does not. You should open a new socket for each request.

--Kevin
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.