"pirey4" wrote:
Will either the /keypress commands that don't work in the Netflix channel on both the Roku 2 and Roku 1 be fixed or will the legacy telnet commands be fixed on the Roku 2?
I'd like to have my ECP application work uniformly on both the Roku 1 and Roku 2.
If you fix the /keypress commands the Netflix channel, will these fixes be rolled out to the Roku 1 and Roku 2 simultaneously? If the fixes aren't rolled out simultaneously, is there any way for an ECP app to tell what version of firmware a particular box is running? Without this, I won't be able to migrate until it is rolled out for both platforms since this would break Roku 1 users.
Thanks,
phil
I can't help with most of your questions, but you can at least tell what model number a box is (which at least tells you if it's a 1 or a 2) via ECP. If you pull and parse the xml from
http://ROKU_IP:8060/ you get something like this, which has modelName/modelNumber nodes :
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:ms="urn:microsoft-com:wmc-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device ms:X_MS_SupportsWMDRM="true">
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMP-1.00</dlna:X_DLNADOC>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<friendlyName>Roku Streaming Player</friendlyName>
<manufacturer>Roku</manufacturer>
<manufacturerURL>http://www.roku.com/</manufacturerURL>
<modelDescription>Roku Streaming Player Network Media</modelDescription>
<modelName>Roku Streaming Player 3050X</modelName>
<modelNumber>3050X</modelNumber>
<modelURL>http://www.roku.com/</modelURL>
<serialNumber>ABC14R000XYZ</serialNumber>
<UDN>uuid:7F248787-B5DF-4C7B-8C9A-00DDEABCXYZ</UDN>
<UPC/>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<SCPDURL>/RenderCtl.xml</SCPDURL>
<controlURL>/UD/?0</controlURL>
<eventSubURL>/?0</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/ConnMgr.xml</SCPDURL>
<controlURL>/UD/?1</controlURL>
<eventSubURL>/?1</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
<SCPDURL>/AvTransport.xml</SCPDURL>
<controlURL>/UD/?2</controlURL>
<eventSubURL>/?2</eventSubURL>
</service>
<service>
<serviceType>urn:roku-com:service:ecp:1</serviceType>
<serviceId>urn:roku-com:serviceId:ecp1.0</serviceId>
<controlURL/>
<eventSubURL/>
<SCPDURL>ecp_SCPD.xml</SCPDURL>
</service>
</serviceList>
<presentationURL>/</presentationURL>
</device>
</root>
I'd probably check the modelNumber against a list of Roku1 models, and if it doesn't appear, assume it's a roku2. I don't think we'll get any more roku1 models, but there may be new roku2 models at some point, so this should make it somewhat future-proof.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com