BrightSign Roku Compact Guia do Utilizador Página 100

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 99
94
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
Vista de página 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 117 118

Comentários a estes Manuais

Sem comentários