0

Rerunning autorun.brs



For debugging purposes, once you get a console shell prompt

Welcome to the Roku Shell version 3.1.46 (2009-07-13)
Type '?' for help or 'help <command>' for help on <command>.

Roku>

...is there a shell command to re-read and execute autorun.brs from the SD card?

During testing I'd like to make changes to autorun.brs, run it, make changes to the file on the SD card, and test without power-cycling. I know you can issue the reboot command, but the linux shutdown that results makes it take even longer than a power cycle.

Thank you.

1 comment

  • 0
    Avatar
    RokuLyndon


    You would need some way to exit your script to run it again. So, there has to be an out in the script whether it ends automatically or with a button press.



    Once the script has exited, you can type script autorun.brs again. But, you can't edit scripts directly on the player and there isn't a way currently to push over a new copy of the script without a reboot.



    Is this a custom script you are working on? There is a tool you could use, but it's not released, and there are certain things it won't do, but you can use it on your computer to do some script troubleshooting.



    Send me an email at <!-- e --><a href="mailto:support@brightsign.biz">support@brightsign.biz</a><!-- e -->, and I'll send you details. It's not posted because of the reasons I listed above.
Please sign in to leave a comment.