Your Digital Media Has Never Looked So Good

Search found 313 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 21
by RokuKC
Fri Jun 21, 2019 3:28 pm
Forum: Roku Developer Program
Topic: Need buttons not bulleted list
Replies: 5
Views: 380

Re: Need buttons not bulleted list

I'm guessing you are looking for LabelList, not ButtonGroup.
See https://developer.roku.com/docs/referen ... bellist.md
by RokuKC
Fri Jun 14, 2019 4:50 pm
Forum: Roku Developer Program
Topic: Use roAppInfo data inside render thread
Replies: 2
Views: 243

Re: Use roAppInfo data inside render thread

roAppInfo can be used in the render thread. The documentation that says it can only be used in a Task is incorrect (or rather obsolete if you will). That restriction applied only to an early 7.x version of Roku OS.
by RokuKC
Thu May 30, 2019 1:51 pm
Forum: Roku Developer Program
Topic: Query APP for input args
Replies: 1
Views: 224

Re: Query APP for input args

I'm not sure if this is what you are asking about, but perhaps: https://developer.roku.com/docs/developer-program/discovery/external-control-api.md#roku-tv-ecp-commands https://developer.roku.com/docs/developer-program/discovery/external-control-api.md#queryapps-example etc. and https://developer.ro...
by RokuKC
Thu May 30, 2019 1:26 pm
Forum: Roku Developer Program
Topic: How is Aquatic Life implemented?
Replies: 7
Views: 658

Re: How is Aquatic Life implemented?

No, Roku OS is not Android.  :)
by RokuKC
Wed Apr 03, 2019 4:43 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 425

Re: BrightScript feature request: string interpolation

There's no interpolation feature, but there are substitution and replacement APIs, which are about as good IMO. thing = "book" color = "red" print Substitute("My {0} is {1}.", thing, color) ' prints "My book is red." or thing = "book" color = "r...
by RokuKC
Tue Jan 08, 2019 12:21 pm
Forum: Roku Developer Program
Topic: roDateTime - wrong time stamp in VPN
Replies: 4
Views: 458

Re: roDateTime - wrong time stamp in VPN

The  roDateTime  Object is created and if we display the current time its showing old time... e.g.  dateTime = CreateObject("roDateTime") print "time = “dateTime.AsDateString("long-date") The output is :  time =  Thursday November 29, 2018 The above is  wrong date. This hap...
by RokuKC
Mon Jan 07, 2019 4:12 pm
Forum: Roku Developer Program
Topic: roDateTime - wrong time stamp in VPN
Replies: 4
Views: 458

Re: roDateTime - wrong time stamp in VPN

Rashmikapil1 wrote:
Hi,

When connect to VPN network (US) we are getting wrong timestamp for 
return CreateObject("roDateTime").asSeconds(),


What exactly do you mean by wrong? Note that the value should be in UTC.

Is the date/time display in the Roku UI correct?
by RokuKC
Fri Dec 28, 2018 6:43 pm
Forum: Roku Developer Program
Topic: Non roman languages
Replies: 5
Views: 650

Re: Non roman languages

Hi folks, This has been asked multiple times but I still didn't find a solution. If one exists, could anyone please point me to it? I am trying to display content in non Roman languages (Chinese, Russian etc) in Roku components like labels etc.. So far I can only see unsupported character boxes eve...
by RokuKC
Tue Nov 13, 2018 2:01 pm
Forum: Roku Developer Program
Topic: AssociateArray Keys() Change Order?
Replies: 2
Views: 261

Re: AssociateArray Keys() Change Order?

I saw from a forum post that .keys() could be appended in a for...each which defaults the associative array to alphabetical order.  What if I want the results returned in the order they appear in the feed? I don't want to add another "order" key, but I can't think of another way from the ...
by RokuKC
Mon Nov 12, 2018 6:14 pm
Forum: Roku Developer Program
Topic: Help on Implementing New Deep Linking Requirements
Replies: 12
Views: 1107

Re: Help on Implementing New Deep Linking Requirements

I cannot seem to find any documentation on how to process deep link parameters while the channel is running as per the new requirement:  When the channel is already running, direct playback commands will  deep link  to content in the channel without requiring a channel launch delay by using  roInpu...
by RokuKC
Mon Nov 12, 2018 12:28 pm
Forum: Roku Developer Program
Topic: List of icons in the Fixed and Geneva themes?
Replies: 1
Views: 239

Re: List of icons in the Fixed and Geneva themes?

Does anyone have a list of all the available icons included with the Roku themes? I can't find it anywhere in the sdk docs. Here are some dumped from the loaded textures via the telnet debug server: /Netflix/Artwork/SceneGraph/FixedTheme/Base/FHD/spinner_ArrowLeft.png /Netflix/Artwork/SceneGraph/Fi...
by RokuKC
Tue Oct 30, 2018 6:18 pm
Forum: Roku Developer Program
Topic: Issue with math: float calculation, ToStr()
Replies: 7
Views: 347

Re: Issue with math: float calculation, ToStr()

Komag wrote:
And then I'll use float.ToStr() for double measure (unless there are Roku models or firmware on which that won't work?)


Default ToStr() on intrinsic types (numeric, Boolean, and string) goes back to firmware 7.0.
ToStr and string Format with printf format specifiers goes back to firmware 7.6.
by RokuKC
Mon Oct 29, 2018 5:07 pm
Forum: Roku Developer Program
Topic: Issue with math: float calculation, ToStr()
Replies: 7
Views: 347

Re: Issue with math: float calculation, ToStr()

Try this: ? 1.1* 9 console prints 9.9 But try this: ? str(1.1 * 9) console prints 9.900001 A couple of options: x=1.1 * 9 ' 1) use Fix to try to force 1 digit of precision.  may or may not work? ? Str(Fix(x * 10)/10) ' 2) use printf-style conversion ? x.ToStr("%3.1f") ' Note that Str pref...
by RokuKC
Mon Oct 29, 2018 4:50 pm
Forum: Roku Developer Program
Topic: Dynamically creating contentNodes for LabelList
Replies: 3
Views: 644

Re: Dynamically creating contentNodes for LabelList

... My code is: genreList = createObject("RoSGNode","LabelList") ContentNode_object = createObject("RoSGNode","ContentNode") for each key in arr      ContentNode_child_object = ContentNode_object.createChild("ContentNode")      ContentNode_child_obj...
by RokuKC
Thu Aug 09, 2018 6:38 pm
Forum: Roku Developer Program
Topic: Audio Guide for Visually Impaired in Roku not working properly
Replies: 2
Views: 316

Re: Audio Guide for Visually Impaired in Roku not working properly

pdineshkumar55 wrote:
But I don't see any documents or links to handle audio guide.


I don't have any specific help for you, but you can find some documentatation at
https://sdkdocs.roku.com/display/sdkdoc/Text+to+Speech
  • 1
  • 2
  • 3
  • 4
  • 5
  • 21