dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
07:25 AM
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
http://dbulli.com
3 REPLIES 3
dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
07:47 AM
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
http://dbulli.com
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
09:07 AM
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
dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2013
09:09 AM
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
http://dbulli.com