Roku HD2000 manual Scripts, Hello world

Page 33

specification indicates that “video.mpg” will start playing at 4:00 PM every Wednesday in January, 2008. The playlist “breakfast.bsp” will start playing at 7:00 AM during January, 2008. Finally, “demo.csv” will be launched everyday in January, 2008, at 2:00 PM.

Note that blank lines can be added (as above) to autoschedule.txt files to improve readability. Additionally, “REM” lines can be added to annotate these files.

Scripts

BrightSign can be used without any knowledge of scripts to accomplish common goals such as playing looping video or playing a slideshow (see the prior section in this manual “Playing Media”). It’s easy to control your digital signs or kiosks with a USB keyboard or remote using a simple script. In addition, using CSV files you can create more sophisticated signs. But by adding scripts, you can create the most interactive digital signs or kiosks. For a fee, Roku can help you write scripts. Contact brightsignsales@rokulabs.com for more information.

A script is a simple program that controls behaviors, like video playback, based on events such as button presses. Scripts are also commonly used on PCs and Web Sites. For example, Microsoft Office “macros” are often Basic Scripts. Adobe Flash apps often rely on ActionScripts for their logic, and web pages are often driven by scripts written in PHP, Perl, or JavaScript. If you don’t have scripting skills in-house, IT and Web developers can be contracted to write scripts for you. Roku can also be contracted to develop custom scripts and applications (contact brightsignsales@rokulabs.com).

BrightSign has a built in scripting language (called BrightScript), similar in many ways to the Basic found in Microsoft Office, or Windows XP “Windows Script Hosting” VBScript.

Scripts can be as simple as one or two lines, and as complicated as thousands of lines.

Hello world

Here is how to create your first, very simple script

1.Using a text editor create a file called “hello.bas” with this line:

print “hello world”

2.Save “hello.bas” into the root directory of a CF card

3.Insert the CF card into BrightSign

4.Connect the serial port of BrightSign to you PC using a null modem cable, and run hyperterminal (see the “Shell” section of this manual for more details).

5.Power up BrightSign.

6.Wait for it to boot, and for the “Roku>” shell prompt to appear

7.type: script /hello.bas

8.You should see “hello world” on your terminal window.

33

Image 33
Contents BrightSign Users Guide Introduction Brightsign Features Example Brightsign Setups Etting the D ATE/T IME on B Rights IGN HD2000 only Introduction BrightSign BrightSign HD2000 HD600 Display Resolutions BrightSign FeaturesPower Example BrightSign Setups Try the Demo ExamplesSoftware Versions BrightSign Documentation Get Hardware You Need Getting StartedDolby Digital AC3 5.1 audio in a video file Media Types SupportedPlaying Media with BrightSign Auto Playing a Video upon Power-upAuto Playing a Playlist upon Power-up Auto Executing a .CSV File Upon Power-UpAuto Executing a Script Upon Power-Up Page Getting Started PlaylistsPlaylist Commands Audiochan # default is Slideinterval # default isLighton # Lightoff # Displayregistry registry section name default is nullWaitbuttonany Pause #Creating Interactive Displays Using Excel to Create Interactive SignsImagemode KeywordsFlipelo State Controlling Gpio Outputs from a CSV File HD2000 only Preloading Images State File CSV Examples Page Rollover Regions using State Files CSV Rollover Events Page Example Scheduling Playback HD2000 only Hello world ScriptsRoku Objects Gpio Control Port Registry HD2000 onlyLearning More and Support Autoplay & General Troubleshooting TroubleshootingGeneral Playback Problems with the BrightSign Autoplay.mpg does not play automaticallyPlaylists Video output is redNo Audio during playback BrightSign and Accessories BrightSign isn’t booting up properly / Random lights litState Files CSV BrightSign Software Update Fails Video Selector switch does not workCompact Flash card is not recognized by the BrightSign USB Mouse is not responding USB Keyboard is not respondingElo Touch Screen coordinates aren’t working properly Selecting Compact Flash Cards AppendixBrightSign Compatibility Device Software Firmware and Upgrading Updating from the BrightSign Shell BrightSign ShellExample Shell Commands Playing Files & Changing Settings List of Shell CommandsTesting Compact Flash Cards Using SD Cards HD2000 onlyTesting Playlists Testing Scripts, Playlists, and .CSVMult-run Script Limitations Writing Boot Script & Logo to Rom Setting the Date/Time on BrightSign HD2000 onlyUsing Your Own Boot Logo Linux Shell HD2000 onlyUsing Your Own Boot Script Supported Input Devices Widescreen vs x3 DiscussionDisplaying Videos Displaying ImagesUSB Mice HD600 Connectors PortsHD2000 Connectors Ports
Related manuals
Manual 2 pages 57.54 Kb

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.