Appendix D: Background Music Player ("Mp3Player") Ecp Commands - Roku HD1000 Manual

External control protocol
Hide thumbs Also See for HD1000:
Table of Contents

Advertisement

Appendix D: Background music player ("mp3player")
ECP commands
The next table (below) shows commands valid for the mp3player app. From the shell, the
syntax to invoke these commands is:
ecp mp3player <command> [<arguments>]
Like Listen, the command is not case-sensitive.
Note: The mp3player application, having no GUI, takes as an argument when it is launched one
or more .mp3 files to play. These files are placed in an internal list. If playback reaches the end
of the list, it will start again from the beginning. There are ECP commands for manipulating
the list.
Table D1: Commands for mp3player
QUIT
RESUME
PAUSE
NEXT
PREVIOUS
APPEND
INSERT
<none>
<none>
<none>
<none>
<none>
<full path>
<full path>
Stops music
playback and quits
the application.
If paused, resume
playback.
If playing, pause
playback
Play the next file
in the list.
Plays the previous
file.
Appends the music
file at <full path>
to the end of the
list of files to be
played.
Inserts the music
file at <full path>
after the currently
playing file in the
list.
Roku External Control Protocol for the HD1000
© 2003 Roku, LLC
15

Advertisement

Table of Contents
loading

Table of Contents