Testing Scripts, Playlists, and .CSV

An efficient way to test playback is to use the BrightSign Shell. By using the shell, you can see “debug output”. From the BrightSign Shell you can start your script manually and view output from the script. You can start a script from the shell by using the “script” command. Follow the directions above to connect the BrightSign to your computer, and access it using Hyperterminal.

As your script runs, you’ll see output in your terminal program. You’ll see a variety of output including mouse clicks or button presses, file names, audio and video settings, as well as any errors associated with incorrect use of functions or commands including the line numbers.

Testing Playlists

When your playlist contains the keyword “debug” the autorun.bas script provides detailed output to the BrightSign Shell during playback. To begin testing playlists, do the following:

1.Copy your content including playlist and autorun.bas to your CF card

2.Open your autoplay.bsp (main playlist file) and add the keyword: debug

3.Insert your CF card into the BrightSign, and add power

Testing Autorun and .CSV files

Running the autorun.bas in debug mode will provide detailed output to the BrightSign Shell while the script is running. To begin testing the autorun.bas script in debug mode, do the following:

1.Copy your content, including .csv file and autorun.bas to your CF card

2.Open autorun.bas and find the “debug=false” line near the top of the script

debug=false 'set to true to turn on debug prints; false to turn them off

3.Change to: debug = true

4.Rename autorun.bas file to “run.bas” for example, so it doesn’t start automatically

a)If you are testing a playlist, the main playlist must be named “autoplay.bsp”

b)If you are testing a .csv file, it must be named “autoplay.csv”

5.Insert your CF card into the BrightSign, and add power

6.At the Roku prompt, type the following: script run.bas

Testing Custom Scripts

To make troubleshooting your custom scripts much easier, we recommend adding checks and print statements like those found in the autorun.bas 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

48

Page 48
Image 48
Roku HD2000 manual Testing Scripts, Playlists, and .CSV, Testing Playlists

HD2000 specifications

The Roku HD2000 is a staple in the streaming device market, celebrated for its user-friendly interface and robust features. This compact device allows users to access a wide range of content from various streaming services, making it an excellent option for anyone looking to elevate their home entertainment experience.

One of the standout features of the Roku HD2000 is its support for high-definition streaming. The device outputs content in 1080p, providing crisp visuals and vibrant colors. This HD capability ensures that users can enjoy their favorite shows, movies, and live sports in impressive detail, enhancing the overall viewing experience.

In terms of connectivity, the Roku HD2000 offers both wired and wireless options. Users can easily connect the device to their home Wi-Fi network, allowing for uninterrupted streaming without the hassle of cables. Additionally, the Roku HD2000 includes an HDMI port, which ensures compatibility with a wide range of televisions and sound systems.

The device is powered by a user-friendly software platform that presents an intuitive interface. The home screen displays a grid of channels, making it easy for users to find and access their favorite streaming services. Roku's operating system also supports thousands of channels, including popular services like Netflix, Hulu, Amazon Prime Video, and Disney+. This extensive library ensures that users always have something to watch.

Another noteworthy characteristic of the Roku HD2000 is its voice search functionality. Through the Roku mobile app or the included remote, users can search for content using voice commands. This feature simplifies the process of finding shows and movies, making the device accessible to users of all ages.

The compact design of the Roku HD2000 allows it to fit seamlessly into any entertainment setup. Its minimalist aesthetic and lightweight build make it easy to move around or hide away, yet it remains powerful enough to deliver a top-notch streaming experience.

Overall, the Roku HD2000 combines advancements in streaming technology with user-friendly features, making it an ideal choice for anyone looking to access a wealth of entertainment options from the comfort of their home. Whether for binge-watching series or catching live sports, the Roku HD2000 stands out as a reliable and versatile streaming solution.