Roku HD1000 Manual
Hide thumbs Also See for HD1000:

Advertisement

Quick Links

Roku External Control Protocol
for the HD1000
For custom installers, developers, and technical users
Revision 1.5
| November 23, 2003

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HD1000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Roku HD1000

  • Page 1 Roku External Control Protocol for the HD1000 For custom installers, developers, and technical users Revision 1.5 | November 23, 2003...
  • Page 2: Table Of Contents

    Table E1: Commands for the system ..........16 © 2003 Roku, LLC. All rights reserved. ROKU and the ROKU logo are trademarks of Roku, LLC...
  • Page 3: Introduction

    The ECP commands are provided to make life easier for third parties. If you have suggestions for enhancements or additions to ECP support on the HD1000 (or if you find an error in this document), please don’t hesitate to write to us at support@rokulabs.com. Requests will be considered for inclusion in later software releases.
  • Page 4: Ecp Command Syntax

    QUIT About Paths The various media sources available to the HD1000 appear in /mnt where flash0 is the built- in storage, flash1 is Compact Flash, flash2 is SD/MMC, flash3 is Memory Stick and flash4 is SmartMedia. Mounted network shares can be found in /mnt/smb/.
  • Page 5: Ecp Status Feedback

    #!/bin/sh # Adding /usr/local/bin to the path allows the script # to call “photo” and “ecp” instead of # “/usr/local/bin/photo” and “/usr/local/bin/ecp” Roku External Control Protocol for the HD1000...
  • Page 6: Running A Script From The Main Menu

    “.roku” extension, like “MySlideshow.roku”. Put the file onto a flash card or in the shared folder on your computer that you connect to from your HD1000. You will see a button in the “Roku Applications” section of the Main Menu corresponding to your new script.
  • Page 7: Appendix A: A Longer Script Example

    # do this here because the first command besides the # directory causes Photo to open the image display # window, which paints the screen black – waiting until # the first image has been displayed eliminates the Roku External Control Protocol for the HD1000...
  • Page 8 PAN _ RIGHT ecp photoApp PAN _ RIGHT ecp photoApp PAN _ RIGHT ecp photoApp PAN _ RIGHT ecp photoApp PAN _ RIGHT ecp photoApp PAN _ RIGHT ecp photoApp PAN _ RIGHT Roku External Control Protocol for the HD1000...
  • Page 9 INFO _ MODE none # Let the slideshow run for a minute and a half, and # then we're done. sleep 90 ecp photoApp QUIT ecp mp3player QUIT sleep 2 echo "done" Roku External Control Protocol for the HD1000...
  • Page 10: Appendix B: Image Viewer ("Photo") Ecp Commands

    Note that Photo’s normal button and infrared handling is always active. If your application desires to completely control Photo while locking out keys, it should open an always-on-top window and SetFocus() on that window after launching Photo. This window should trap all keys. Roku External Control Protocol for the HD1000...
  • Page 11 PAN_RIGHT <none> Exactly like pressing the right arrow on the remote PAN_UP <none> Exactly like pressing the up arrow on the remote PAN_DOWN <none> Exactly like pressing the down arrow on the remote Roku External Control Protocol for the HD1000...
  • Page 12 [Limitation: if the image is too large to fit into the hardware scaler, it is scaled to fit. In this case, all of the parameters listed here are scaled as well.] Roku External Control Protocol for the HD1000...
  • Page 13 Not a toggle. PLAY <none> Resume/start a slideshow. Not a toggle. NEXT_IMAGE <none> Exactly like pressing the >>| key on the remote PREV_IMAGE <none> Exactly like pressing the |<< key on the remote Roku External Control Protocol for the HD1000...
  • Page 14 If the optional and value). zoom and pan arguments are supplied, the image is displayed zoomed and panned. SET_ZOOM_AND_PAN above. Roku External Control Protocol for the HD1000...
  • Page 15: Appendix C: Music Player ("Listen") Ecp Commands

    Appendix C: Music player (“Listen”) ECP commands There are two music playing applications on the HD1000, release 1.0. The first is called “Listen”, and it is the GUI player you normally launch from the Main Menu. The second is called “mp3player”, and is a faceless background application used by Art Packs or other tasks where...
  • Page 16 ID3-year of the currently playing track. SetDirectory <full path> Set the currently viewable-browseable directory to <full path>, if it exists. FilePlay <filename> Plays <filename> if it is in the currently viewed list of files. Roku External Control Protocol for the HD1000...
  • Page 17: Appendix D: Background Music Player ("Mp3Player") Ecp Commands

    <full path> to the end of the list of files to be played. INSERT <full path> Inserts the music file at <full path> after the currently playing file in the list. Roku External Control Protocol for the HD1000...
  • Page 18: Appendix E: System Ecp Commands

    © 2003 Roku, LLC Appendix E: System ECP Commands The table below listen commands that affect the HD1000 as a whole. From the shell, the syntax to invoke these commands is: ecp system <command> [<arguments>] The command is not case-sensitive.

Table of Contents