Your Digital Media Has Never Looked So Good

Search found 14 matches

by tutash
Wed Aug 28, 2019 10:45 am
Forum: Roku Developer Program
Topic: How detect in BrightScript when Screensaver is shown?
Replies: 8
Views: 1017

Re: How detect in BrightScript when Screensaver is shown?

Yeah. There's a way to figure this out. Knowing how long to wait and knowing when to start waiting kinda gives you the answer.
by tutash
Tue Feb 05, 2019 9:35 am
Forum: Roku Developer Program
Topic: trickPlayBar ad breaks example?
Replies: 6
Views: 669

Re: trickPlayBar ad breaks example?

trickPlaybarVisiblityHint field and hashMarkPositions array allow this. You set an array in the trickplaybar ( hashmarkpositions ) when it first shows up (first instanced). It uses floats to determine positions along the trickplaybar.  Though this feature probably won't go away soon, it's undocumen...
by tutash
Sun Jun 25, 2017 8:16 am
Forum: Roku Developer Program
Topic: LabelList custom fonts
Replies: 3
Views: 3423

LabelList custom fonts

I'm using a font node for a LabelList. I noticed that the font switches back to the default font for whichever item is focused.  <LabelList id="list" itemSize="[860, 90]" vertFocusAnimationStyle="floatingFocus"> <font  role="font"  uri="pkg:/fonts/DINOT-M...
by tutash
Tue Feb 28, 2017 3:58 pm
Forum: Roku Developer Program
Topic: HLS Troubleshooting
Replies: 52
Views: 90278

Re: HLS Troubleshooting

I'm having an issue with HLS. There are times when our clients are forced to stop the stream (this would be during playback of an ad which contains video) to play another video.  -tutash It looks like I will be able to store it locally, and restart the "stream" after all. this approach is...
by tutash
Tue Feb 28, 2017 3:43 pm
Forum: Roku Developer Program
Topic: HLS Troubleshooting
Replies: 52
Views: 90278

Re: HLS Troubleshooting

I'm having an issue with HLS. There are times when our clients are forced to stop the stream (this would be during playback of an ad which contains video) to play another video.  The issue is that, for some of our clients, the m3u8 file has a TTL (time to live) of five minutes, and the stream URL ca...
by tutash
Thu Feb 23, 2017 2:34 pm
Forum: Roku Developer Program
Topic: Images not loading consistently into PosterGrid
Replies: 5
Views: 2608

Re: Images not loading consistently into PosterGrid

Veeta,

I'm getting that feeling as well. I'll try staggering the population of renderable objects over time to see if I can improve loading performance.
by tutash
Thu Feb 23, 2017 8:49 am
Forum: Roku Developer Program
Topic: Images not loading consistently into PosterGrid
Replies: 5
Views: 2608

Re: Images not loading consistently into PosterGrid

I've found that if I run a routine like:  sub prefetchImages(array as Object)     print array.count()     preloader = createObject("RoSGNode","Group")     for i = 0 to array.count()-1         if type(array[i]) = "roString" then             image = createObject("RoS...
by tutash
Thu Feb 23, 2017 8:19 am
Forum: Roku Developer Program
Topic: Images not loading consistently into PosterGrid
Replies: 5
Views: 2608

Re: Images not loading consistently into PosterGrid

File sizes are 6-7k. There are 16 of them.
by tutash
Wed Feb 22, 2017 10:56 am
Forum: Roku Developer Program
Topic: Creating a MarkupGrid itemComponent in code.
Replies: 9
Views: 2257

Re: Creating a MarkupGrid itemComponent in code.

Veeta, 

I tried it; no luck. 
by tutash
Wed Feb 22, 2017 10:30 am
Forum: Roku Developer Program
Topic: Images not loading consistently into PosterGrid
Replies: 5
Views: 2608

Images not loading consistently into PosterGrid

I'm using posterGrid and not markupGrid. This is a requirement of the code I'm writing. So, with that out of the way: I create content nodes to populate a posterGrid, then set said grid's content to be that content node. This is normal stuff. For testing, I'm fetching the images from either a local ...
by tutash
Thu Jan 19, 2017 10:39 am
Forum: Roku Developer Program
Topic: Creating a MarkupGrid itemComponent in code.
Replies: 9
Views: 2257

Re: Creating a MarkupGrid itemComponent in code.

It's not an objection, really, but a requirement that I have no XML-based components, and that it remain scene graph based.
by tutash
Wed Jan 18, 2017 1:35 pm
Forum: Roku Developer Program
Topic: Creating a MarkupGrid itemComponent in code.
Replies: 9
Views: 2257

Re: Creating a MarkupGrid itemComponent in code.

Okay, if that's the issue; creating only one instance, then what about something like this: We return the instance from a function call. m.gridItem = function() as Object         g = createObject("roSGNode","Rectangle")         g.width = "100"         g.height = "1...
by tutash
Wed Jan 18, 2017 9:52 am
Forum: Roku Developer Program
Topic: Creating a MarkupGrid itemComponent in code.
Replies: 9
Views: 2257

Re: Creating a MarkupGrid itemComponent in code.

So what you're saying is: I can define the component.  sub makeGridItem() m.gridItem = createObject("roSGNode","Rectangle") m.gridItem.color = "0xFF0000FF" m.gridItem.width = "100" m.gridItem.height = "100" m.gridItem.id = "gridItem" m.top....
by tutash
Tue Jan 17, 2017 2:29 pm
Forum: Roku Developer Program
Topic: Creating a MarkupGrid itemComponent in code.
Replies: 9
Views: 2257

Creating a MarkupGrid itemComponent in code.

I want to create a MarkupGrid from code, not markup.  I can build a MarkupGrid like so:  sub buildGrid()     print "GRID"     m.grid = createObject("roSGNode","MarkupGrid")     m.grid.translation = "[100,100]"     REM m.grid.itemComponentName = "gridItem&...