Roku HD110 User Guide - Page 100
Testing autorun and interactive playlist files, Testing custom scripts
View all Roku HD110 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
Testing autorun and interactive playlist files Running AUTORUN.BRS in debug mode provides detailed output to the BrightSign shell while the script is running. To begin testing the AUTORUN.BRS script in debug mode, do the following: 1 Copy your content, interactive playlist, and AUTORUN.BRS to your CF/SD card. 2 Open AUTORUN.BRS and find the following line near the top of the script: debug=false 'set to true to turn on debug prints; false to turn them off 3 Change this line to: debug = true 4 Rename AUTORUN.BRS so it doesn't start automatically. For example, rename it RUN.BRS. • If you are testing a playlist, the main playlist must be named AUTOPLAY.BSP • If you are testing an interactive playlist, it must be named AUTOPLAY.CSV 5 Insert your CF/SD card into BrightSign, and add power. 6 When the Roku prompt appears, type the following: script run.brs Testing custom scripts To make troubleshooting your custom scripts much easier, we recommend adding check and print statements, like those found in the AUTORUN.BRS script. Here are a few examples: • Add print statements telling you which portion of the script you are currently in • Add print statements showing the type of event that just occurred • Add print statements showing names of files read from the flash card • Add print statements showing the coordinates of a mouse click 94 • •