Roku HD2000 manual Roku Objects, Examples

Page 34

9. If you want the script to autorun upon boot, rename it “autorun.bas”

Roku Objects

As well as the BrightScript language itself, BrightSign relies upon a library of “Roku Objects” to expose the hardware to the scripting language. Each Roku Object provides access to certain capabilities. For example, there is a roVideoPlayer object and a roTouchScreen object. To create an object in a script, the CreateObject() function is used.

Refer to the following two manuals when writing scripts:

Roku BrightScript Reference -- this describes the actual scripting language

Roku Object Reference -- this describes the Roku Objects, such as “roVideoPlayer”

Examples

A good way to learn BrightScript is to look at or modify existing scripts. You can find links to example scripts at www.rokulabs.com/brightsign. The BrightSign Demo “autorun.bas” is an example of a more sophisticated script.

You can also test BrightScript commands using the shell. Here is an example:

Welcome to the Roku Shell version 1.1.28 Release

Type '?' for help or 'help <command>' for help on <command>.

Roku> script

BrightScript Micro Debugger.

Enter any BrightScript statement, debug commands, or HELP.

BrightScript> print "hello" hello

BrightScript> ? "hello" hello

BrightScript> ?5+6 11

BrightScript> ?type(5) rotINT32

BrightScript> if 1=1 then print"1 does equal 1!" else print "strange!" 1 does equal 1!

BrightScript> ?right("abcdef",3) def

BrightScript> exit Roku>

34

Image 34
Contents BrightSign Users Guide Introduction Brightsign Features Example Brightsign Setups Etting the D ATE/T IME on B Rights IGN HD2000 only Introduction BrightSign Features BrightSign BrightSign HD2000 HD600 Display ResolutionsPower Example BrightSign Setups Examples Try the DemoSoftware Versions BrightSign Documentation Getting Started Get Hardware You NeedMedia Types Supported Dolby Digital AC3 5.1 audio in a video fileAuto Playing a Video upon Power-up Playing Media with BrightSignAuto Executing a .CSV File Upon Power-Up Auto Playing a Playlist upon Power-upAuto Executing a Script Upon Power-Up Page Playlists Getting StartedPlaylist Commands Slideinterval # default is Audiochan # default isWaitbuttonany Displayregistry registry section name default is nullLighton # Lightoff # Pause #Using Excel to Create Interactive Signs Creating Interactive DisplaysKeywords ImagemodeFlipelo 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 Scripts Hello worldRoku Objects Registry HD2000 only Gpio Control PortLearning More and Support General Playback Problems with the BrightSign TroubleshootingAutoplay & General Troubleshooting Autoplay.mpg does not play automaticallyVideo output is red PlaylistsNo Audio during playback BrightSign isn’t booting up properly / Random lights lit BrightSign and AccessoriesState Files CSV Video Selector switch does not work BrightSign Software Update FailsCompact Flash card is not recognized by the BrightSign USB Keyboard is not responding USB Mouse is not respondingElo Touch Screen coordinates aren’t working properly Appendix Selecting Compact Flash CardsBrightSign Compatibility Device Software Firmware and Upgrading BrightSign Shell Updating from the BrightSign ShellList of Shell Commands Example Shell Commands Playing Files & Changing SettingsUsing SD Cards HD2000 only Testing Compact Flash CardsTesting Scripts, Playlists, and .CSV Testing PlaylistsMult-run Script Limitations Using Your Own Boot Logo Setting the Date/Time on BrightSign HD2000 onlyWriting Boot Script & Logo to Rom Linux Shell HD2000 onlyUsing Your Own Boot Script Displaying Videos Widescreen vs x3 DiscussionSupported Input Devices Displaying ImagesHD600 Connectors Ports USB MiceHD2000 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.