"whaleface" wrote:It was introduced with the 2.7 sdk, in October. If you looked at an older sdk, the document wouldn't have been in there. There's a release notes document in the sdk that has pretty good details for each release."EnTerr" wrote:"whaleface" wrote:
if roku implemented a call to start an application (or ensure you're already in one), and allowed app developers to implement a single call like "play song/album/video with unique ID x" then this would be trivial. as it is, I don't think it's possible. 😐
there is already a easy REST API for staring a channel - and parameters can be passed too. now whether MOG channel supports any arguments (like song ID or album) is something to bark at MOG's tree, Roku had done their part
I see that now, thanks. sorry for not reading first but somehow I missed this document the last time I looked at the sdk. I'm going to ask mog to add some support for ecp now. 🙂
"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?
"gonzotek" wrote:"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?
"gonzotek" wrote:
I've got something workable started, but I won't get a chance to finish it tonight. I think I should have time tomorrow evening to get something up that will be generally helpful for channel developers to test their ecp launch param-enabled channels, as well as for end users to, err, use the implemented features.
And by the way, thanks TheEndless for doing the Shoutcast channel, it's going to be the default example for the form :). Unless you have any objection, of course 🙂