Your Digital Media Has Never Looked So Good

Search found 45 matches

by gabek
Thu Nov 09, 2017 2:47 pm
Forum: Roku Developer Program
Topic: Restart Application
Replies: 3
Views: 1095

Re: Restart Application

 appId = createObject("roAppInfo").getID()   url = substitute("http://localhost:8060/launch/{0}?restart=true", appId)   launchRequest = createObject("roUrlTransfer")   launchRequest.setUrl(url)   launchRequest.postFromString("") It's probably not everybody's ...
by gabek
Wed Jun 14, 2017 5:07 pm
Forum: Roku Developer Program
Topic: Adding to a PanelSet causes a device reset
Replies: 10
Views: 3650

Re: Adding to a PanelSet causes a device reset

I'm using a 4640X on 7.6.0 build 4120-29.  I emailed developer support per your suggestion in PM and I'll keep this thread updated if I get anything back.
by gabek
Tue Jun 13, 2017 3:36 pm
Forum: Roku Developer Program
Topic: Adding to a PanelSet causes a device reset
Replies: 10
Views: 3650

Re: Adding to a PanelSet causes a device reset

Trying a different approach by only using a GridPanel's "nextPanel" to add Panels to the PanelSet stack and the results are the same.
by gabek
Tue Jun 06, 2017 3:56 pm
Forum: Roku Developer Program
Topic: Adding to a PanelSet causes a device reset
Replies: 10
Views: 3650

Re: Adding to a PanelSet causes a device reset

Maybe a simple question is: What is the best practice for adding to a PanelSet?  Is creating a reference to it in the global node so child Panels can append additional children to it the way it's supposed to be done?  All the Roku provided examples seem to only add children from the node that create...
by gabek
Sun Jun 04, 2017 6:33 pm
Forum: Roku Developer Program
Topic: Adding to a PanelSet causes a device reset
Replies: 10
Views: 3650

Re: Adding to a PanelSet causes a device reset

After some trial and error, I found it seems to be a very specific case.  Only when a panel has m.top.isFullScreen set to true when adding it to the PanelSet does this crash happen.  Setting it to false or not setting it at all will not result in the device restarting itself.
by gabek
Sun Jun 04, 2017 5:40 pm
Forum: Roku Developer Program
Topic: Adding to a PanelSet causes a device reset
Replies: 10
Views: 3650

Adding to a PanelSet causes a device reset

I have a single PanelSet at the root of my scene (created by an OverhangPanelSetScene). For convenience, I've assigned the PanelSet to m.global.panelSet.  The first time I add something to the PanelSet's stack it works fine, but any further attempts will always crash the entire device with no errors...
by gabek
Sat Jun 03, 2017 10:08 pm
Forum: Roku Developer Program
Topic: Changes to Shoutcast v2.5 affecting metadata lookup
Replies: 5
Views: 2770

Re: Changes to Shoutcast v2.5 affecting metadata lookup

It sounds like you're able to outline what the user-facing issue is, but it's probably best to detail what the technical/code-level issues that you're seeing is.

What is the code that you're running?  What did it used to do?  What does it do now?
by gabek
Mon May 29, 2017 7:19 pm
Forum: Roku Developer Program
Topic: Multiple Dialogs
Replies: 9
Views: 1330

Re: Multiple Dialogs

This also happens to me when trying to replace one Dialog with another.
by gabek
Sun May 28, 2017 2:40 pm
Forum: Roku Developer Program
Topic: Accessing a m.top field a second time within a task seems to freeze the task
Replies: 6
Views: 734

Re: Accessing a m.top field a second time within a task seems to freeze the task

Ah ha, this seems to be the piece that I wasn't aware of:

"Tasks" are part of roSgScreen components, so i would not expect them to work while roScreen is in command.

I had no idea that was the case, it wasn't clear.  But now I know!
by gabek
Sat May 27, 2017 8:18 pm
Forum: Roku Developer Program
Topic: Accessing a m.top field a second time within a task seems to freeze the task
Replies: 6
Views: 734

Re: Accessing a m.top field a second time within a task seems to freeze the task

Due to me needing to go on with my life I'm just going back to the pre-task way of doing things :) . Regular old async url requests from the main thread using the message port.  This bums me out since I really wanted to split everything off into tasks.  I guess I'll revisit once I get to the point o...
by gabek
Sat May 27, 2017 5:49 pm
Forum: Roku Developer Program
Topic: Accessing a m.top field a second time within a task seems to freeze the task
Replies: 6
Views: 734

Re: Accessing a m.top field a second time within a task seems to freeze the task

After some more testing, it seems to even be more simple than that.  As long as a roScreen is created, regardless of where or by who seems to break the task.  For instance, if I create a roScreen directly before starting the task makes the task not run at all. I'm pretty sure this disclaimer has alw...
by gabek
Sat May 27, 2017 4:24 pm
Forum: Roku Developer Program
Topic: Accessing a m.top field a second time within a task seems to freeze the task
Replies: 6
Views: 734

Re: Accessing a m.top field a second time within a task seems to freeze the task

Good call on the loop.  In that particular case, I don't need every tick. It seems my m.top issue seems to be linked to the previous execution of the timer writing to m.top.test, the main thread observing it, and firing off something that creates a roScreen.  If I don't allow a roScreen to be genera...
by gabek
Thu May 25, 2017 5:49 pm
Forum: Roku Developer Program
Topic: Accessing a m.top field a second time within a task seems to freeze the task
Replies: 6
Views: 734

Accessing a m.top field a second time within a task seems to freeze the task

This one is driving me crazy! I have a Task with a timer.  After the elapsed time it sets something to m.top.test and resets the timer.  But the next time I access m.top.test the thread freezes. Example:  <interface>    <field id = "test" type = "assocarray" />  </interface> ----...
by gabek
Wed May 24, 2017 6:08 pm
Forum: Roku Developer Program
Topic: Timer within a Task returns on Render, not Task thread
Replies: 3
Views: 2370

Re: Timer within a Task returns on Render, not Task thread

Thanks for the clarification!  I was hoping that wasn't the case, as the Timer component is an elegant component that would make sense being used in any kind of node.  But at least now I know.
by gabek
Wed May 24, 2017 3:33 pm
Forum: Roku Developer Program
Topic: Timer within a Task returns on Render, not Task thread
Replies: 3
Views: 2370

Timer within a Task returns on Render, not Task thread

Hello! I have a timer I'd like as a part of a task.  However, the timer returns back on a render thread, not the Task thread, and therefore I can't do any of the stuff that's not available on a SceneGraph render thread. Is there any way around this?  For reference, I'm doing a simple "Every 5 s...