Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dbulli
Visitor

Firmwar 5.2 - CreateObject("roDeviceInfo").GetVersion()

I am trying to detect if a Roku has new firmware and has support for captions in the roVideoPlayer. I was going to do a test for 5.2, but i got 5.02? Can I test for that? Is there a better way?


version = CreateObject("roDeviceInfo").GetVersion()
versionNumber = Val(version.Mid(2,4))

print "version: ";version;versionNumber
if (versionNumber >= 5.02)
print "has caption support"
end if



'this is version variable?
025.02E03264A
- Daniel
http://dbulli.com
Tags (1)
0 Kudos
3 REPLIES 3
dbulli
Visitor

Re: CreateObject("roDeviceInfo").GetVersion() shows 5.02?

Also if i got to Roku box > Settings > Account it shows Version 5.2.build 3264
- Daniel
http://dbulli.com
Tags (1)
0 Kudos
destruk
Streaming Star

Re: Firmwar 5.2 - CreateObject("roDeviceInfo").GetVersion()

5.2 is 5.02. They are the same. When you version your channel for publication on the channel store it works the same way. 5.3=5.03, 5.4=5.04, 5.10=5.10
Tags (1)
0 Kudos
dbulli
Visitor

Re: Firmwar 5.2 - CreateObject("roDeviceInfo").GetVersion()

"destruk" wrote:
5.2 is 5.02. They are the same. When you version your channel for publication on the channel store it works the same way. 5.3=5.03, 5.4=5.04, 5.10=5.10


Thanks destruk, then my check should be ok.
- Daniel
http://dbulli.com
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!