FOCUS Enhancements 3.2 user manual MpgLoadNextDef, MpgClearDef

Models: 3.2

1 206
Download 206 pages 1.48 Kb
Page 139
Image 139

External Control Commands

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).

125

Page 139
Image 139
FOCUS Enhancements 3.2 user manual MpgLoadNextDef, MpgClearDef