External Control Commands
130
Using Serial Commands To Create Playlists
You can create a playlist “on the fly” with the mpgLoadDef and
mpgLoadNextDef commands. These two commands are used to
define a “default” (i.e. looping) playlist of MPEG files.
To make a playlist:
❏
call mpgClearDef to clear the old default playlist.
❏
call mpgLoadDef to specify the first file in the list.
❏
call mpgLoadNextDef once for each additional file, the
order they should play.
❏
wait a few seconds for the files to load.
❏
call mpgPlay to start playback.
If you want to create a playlist that only plays once, use the mpgLoad and
mpgLoadNext commands as follows:
❏
call mpgClearDef to clear the old default playlist.
❏
call mpgLoad to specify the first file in the list.
❏
call mpgLoadNext once for each additional file, the order
they should play.
❏
wait a few seconds for the files to load.
❏
call mpgPlay to start playback.
To interactively insert “one time” files into the default playlist you
can use the mpgLoad and mpgLoadNext commands
without
calling mpgClearDef. A list of files specified with these commands
will interrupt the default playlist and play once. When the last file
specified ends, the default playlist will resume, from the point
where it was interrupted.
The last value passed to mpgSetInitOnOpen effect the type of
transition when mpgLoad or mpgLoadDef is called. For seamless
transitions, send mpgSetinitOnopen 0 before the load commands.
Summary of Contents for 3.2
Page 1: ...Firefly SC and MZ Media Players Version 3 2 User Manual ...
Page 8: ...vi ...
Page 14: ...xii ...
Page 32: ...18 ...
Page 36: ...22 ...
Page 105: ...WEBVIEW 91 USB Devices Figure 37 Settings USB Devices ...
Page 174: ...160 ...
Page 194: ...180 ...
Page 196: ...182 ...
Page 205: ......
Page 206: ...813 0049c 2004 Focus Enhancements ...