Forum Discussion
gonzotek
15 years agoVisitor
"lucasgonze" wrote:It's possible to send specific parameters via a url command so that at launch time the channel can access those parameters and act accordingly, as explained by TheEndless in this post. See also the ECP document in the Roku sdk. Be aware that the ExternalControlGuide.pdf document in the 2.8 sdk says this is in the simplevideoplayer example code. This is wrong, but TheEndless has provided an example at the link above.
What does it mean for MOG to add support for arguments? As I understand it ECP is basically keystroke macros, except mapping to the Roku remote. Do we do arguments by creating a form that only a keystroke macro would want?
/edit: And in case it wasn't clear, those parameters could be any imaginable param and it's associated data, for instance:
songid=4567890
page=2
backgroundcolor=blue
and so on...your app just needs to check for the existence of the object at launch and then take action as appropriate.