Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
mobiledev
Level 7

Information from Roku User Agent

I am new to Roku development. I pull the user agent from http request. Could some please advise me what information I can retrieve from user agent?

For instance, Roku/DVP-5.5 (025.05E00410A), does DVP-5.5 means the OS version? What about 025.05E00410A?

Thanks
0 Kudos
5 Replies
RokuMarkn
Level 7

Re: Information from Roku User Agent

0 Kudos
TheEndless
Level 7

Re: Information from Roku User Agent

Roku/DVP stands for "Roku Digital Video Player" which is what it was called before it was renamed to "Roku Streaming Player" several years ago. 5.5 is the firmware version (<major>.<minor>). The rest is the full version number, which can be parsed as detailed in the thread Mark referenced above.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
mobiledev
Level 7

Re: Information from Roku User Agent

Thanks. This is very helpful, very appreciate.

In this example, Roku/DVP-5.5 (025.05E00410A), "02" is the hardware identifier. What does "02" mean? I saw "04" from a Roku 3.

I also got model as well, such as "3100X". Does this relate to the first two characters in the User Agent (for instance "3100X" model means "02" in User Agent?

Thanks
0 Kudos
TheEndless
Level 7

Re: Information from Roku User Agent

"mobiledev" wrote:
Thanks. This is very helpful, very appreciate.

In this example, Roku/DVP-5.5 (025.05E00410A), "02" is the hardware identifier. What does "02" mean? I saw "04" from a Roku 3.

I also got model as well, such as "3100X". Does this relate to the first two characters in the User Agent (for instance "3100X" model means "02" in User Agent?

Thanks

I don't think that's public knowledge. In my logs I have 01, 02, 03, 04, 06, and 09... no 05, 07, or 08, so no idea what it means. As for model, if you have that, you can match it up with the chart here: http://en.wikipedia.org/wiki/Roku
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
mobiledev
Level 7

Re: Information from Roku User Agent

My log has 01-09 and 11, but not 10. Could Roku team advise if there is a way we can know the hardware model from these hardware identifiers?

Thanks
0 Kudos