gonzotek
15 years agoVisitor
Remote ECP Comments
"Search" doesn't seem to be implemented anywhere yet, although the 2.7 docs claim it is implemented in Netflix, it doesn't appear to be working for anyone with 2.7 or 2.8. I think all of the current remote developers have run into this, but I haven't seen a report about it in the developers forum, so here it is :).
The xml returned by http://roku:8060/query/apps can't be accessed from javascript under most circumstances due to cross-domain restrictions. A permissive CORS policy, implemented as suggested here: viewtopic.php?p=214369#p214369, or alternatively, a json response format, would allow for a greater degree of integration between a javascript-based remote and the player. Since the player already responds freely to requests coming from anything else on the lan, the integrity of the security doesn't change and developers can implement web-based remote control features that don't depend on proxying data.
Also, two additional commands would be useful:
(1)Clear (as implemented in the onscreen keyboard) to wipe out anything in the text/search fields.
(2)A global 'keyup any' command that would cancel out anything might have sent a keydown.
The xml returned by http://roku:8060/query/apps can't be accessed from javascript under most circumstances due to cross-domain restrictions. A permissive CORS policy, implemented as suggested here: viewtopic.php?p=214369#p214369, or alternatively, a json response format, would allow for a greater degree of integration between a javascript-based remote and the player. Since the player already responds freely to requests coming from anything else on the lan, the integrity of the security doesn't change and developers can implement web-based remote control features that don't depend on proxying data.
Also, two additional commands would be useful:
(1)Clear (as implemented in the onscreen keyboard) to wipe out anything in the text/search fields.
(2)A global 'keyup any' command that would cancel out anything might have sent a keydown.