FOCUS Enhancements 3.2 MP3 Player User Manual


 
External Control Commands
125
mpgLoadNextDef
This command queues an MPEG file to play when the current
video file finishes. This command adds file to a looping playlist.
Syntax
mpgLoadNextdef 0
channel videoname
Parameters
channel
The channel on the Firefly (0)
videoname
The full path and video name of the MPEG file to load. (See description
for mpgLoad.)
Return Values
This command returns ACK to indicate that the file was loaded
successfully, or NAK to indicate that the file could not be loaded
(e.g., the file was not found).
mpgClearDef
This command clears the default (looping) playlist. This cancels
the playlist defined by mpgLoadDef and mpgLoadNextDef and the
playlist loaded by the Firefly at startup.
Syntax
mpgClearDef 0
channel
Parameters
channel
The channel on the Firefly (0)
Return Values
This command returns ACK if the file load was started
successfully, or NAK if the file could not be loaded (e.g., the file
was not found).