EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2012
04:43 PM
Bugs in Roku SDK Documentation
PS. decided just to rename this topic from "Mislabeled PDFs in SDK" to "bugs in documentation", so we can throw there discrepancies noticed instead of opening new threads silly.
--------
Noticed today some of the RokuSDK/documents/*.PDF have wrong titles as Adobe Reader is concerned.
When using "Search" to get all files containing term, I noticed same document names showed more than once in the result pane. Which is weird because hits are grouped together by PDF file. I saw that before but chalked it to be Adobe bug; today i investigated. To reproduce, select Search "All PDF documents in ... folder" and ask it to seach "Roku". Observe there are repeating document names, for example 3 "Roku Digital Video Player Getting Started"
It's a case of confused identity where the PDF has wrong Title/Subject inside (try File / Properties in Adobe to see that). No doubt happened because one document was copied and edited to make another doc but the metadata was not changed. Here is list of the offenders:
Roku*, please fix.
PS. Moot, since around 2013-05 there are no documentation PDFs, only confluence wiki
--------
Noticed today some of the RokuSDK/documents/*.PDF have wrong titles as Adobe Reader is concerned.
When using "Search" to get all files containing term, I noticed same document names showed more than once in the result pane. Which is weird because hits are grouped together by PDF file. I saw that before but chalked it to be Adobe bug; today i investigated. To reproduce, select Search "All PDF documents in ... folder" and ask it to seach "Roku". Observe there are repeating document names, for example 3 "Roku Digital Video Player Getting Started"
It's a case of confused identity where the PDF has wrong Title/Subject inside (try File / Properties in Adobe to see that). No doubt happened because one document was copied and edited to make another doc but the metadata was not changed. Here is list of the offenders:
- DeveloperGuide.pdf - thinks it is "Roku Digital Video Player Getting Started"
- DesignGuidelines.pdf - "Roku Digital Video Player Getting Started"
- EncodingGuide.pdf - "Roku Digital Video Player Getting Started"
- ExternalControlGuide.pdf - "The BIF Archive Format Specification"
- Roku Channel Developer Agreement and Program Requirements.pdf - "Roku® Digital Video Player"
- ChannelPackagingAndPublishing.pdf - "Roku Digital Player Component Reference"
Roku*, please fix.
PS. Moot, since around 2013-05 there are no documentation PDFs, only confluence wiki
14 REPLIES 14
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2012
08:41 PM
ifFunction.GetSub() return type [fixed 2014-03]
BS Reference manual, 10.11 claims that ifFunction.GetSub() returns String.
I spotted discrepancy between the types in GetSub and SetSub and tried to see. It does not - it returns "Function" (bsTypedValue).
I spotted discrepancy between the types in GetSub and SetSub and tried to see. It does not - it returns "Function" (bsTypedValue).
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2012
01:36 AM
Eval(codeStr) return type [fixed 2014-09]
BSRef 6.6 says Eval() returns integer, "the same error codes are returned by GetLastRunTuntimeError()".
Except if there is problem parsing the snippet, then it seems to return GetLastRunCompileError() as roList of roAssociativeArrays. So the return type is "dynamic" at best
Except if there is problem parsing the snippet, then it seems to return GetLastRunCompileError() as roList of roAssociativeArrays. So the return type is "dynamic" at best
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012
02:05 AM
"roBrSub" type [moot since 2013-04]
BSCompRef 3.0 mentions among core components one class "roBrSub" which is not explained anywhere nor is creatable by createobject().
wassat?!
wassat?!

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012
06:08 AM
Re: "roBrSub" type
"EnTerr" wrote:Confirmed, no mention in anywhere else in the pdfs or examples.
BSCompRef 3.0 mentions among core components one class "roBrSub" which is not explained anywhere nor is creatable by createobject().
wassat?!
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
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
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2012
11:32 AM
Re: "roBrSub" type
"gonzotek" wrote:"EnTerr" wrote:Confirmed, no mention in anywhere else in the pdfs or examples.
CompRef 3.0 mentions among core components one class "roBrSub" which is not explained anywhere nor is creatable by createobject().
wassat?!
maybe someone meant roFunction? roFunction is mentioned three times in BSRef and we know that "sub xxx" is shortcut for "function xxx as void"
BrightScript Debugger> ? box(function(): end function)
<Component: roFunction>
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012
07:21 PM
None such "isStorageDeviceInserted()" [fixed 2015-06]
CompRef under "2.4 Event Loops", "Since Firmware version 2.6" mentions
- which exists.
Boolean isStorageDeviceInserted(Void)but there is no such animal. CompRef 5.7, "roFileSystemEvent" describes instead
isStorageDeviceAdded()
- which exists.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012
06:43 PM
WriteAsciiFile() description wrong [fixed 2013-11]
BSRef
7.8 WriteAsciiFile(filepath As String, buffer As String) As Booleani'd venture guessing this writes instead but does it return something?
This function reads the specified file and returns it as a string.
ghartwig
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012
02:02 AM
SpringboardDirectorLabel attribute
Component Reference 4.1, section 4.2
SpringboardDirectorLabel — Does not work
SpringboardDirectorText — This seems to be the correct attribute name
SpringboardDirectorLabel — Does not work
SpringboardDirectorText — This seems to be the correct attribute name
rjdjohnston
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2015
09:59 PM
Re: SpringboardDirectorLabel attribute
"ghartwig" wrote:
Component Reference 4.1, section 4.2
SpringboardDirectorLabel — Does not work
SpringboardDirectorText — This seems to be the correct attribute name
You're absolutely correct! How ridiculous is it that the documentation hasn't been updated after you reported back in 2012!!!!
Really sad how much of an after thought the programming side is for Roku. I don't expect iOS like documentation and features, but really.. can't afford someone to stay on-top of documentation and bug fixes?
Sad.
My channels: Amiri King, Donnie Baker, Worldview Weekend - Twitter @rjdjohnston