Download FireFly MC - User Manual
Transcript
External Control Commands Remarks Video playback is completely independent of whether the video is muted with mpgBlack. Videos will play “underneath” the black normally, audio will be unaltered and callbacks will be sent normally. If a playlist is played with one of the commands, such as playlistPlay, unused channels (channels with no video files) will be set to the blackened state. Therefore, you must call mpgUnblack on those channels if you intend to play video on them with commands such as mpgLoad/mgpPlay. See mpgUnblack for more information on “unblacking” video. mpgUnblack This command uncovers MPEG video, reversing the effects of the mpgBlack command. To cover the video again, use the mpgBlack command. Syntax mpgUnblack 0 channel Parameters channel The channel on the Firefly (0-3) Return Values This command returns ACK if mpgUnblack was started successfully, or NAK if mpgUnblack could not be started. Remarks See mpgBlack on page 232 for more information on “blacking out” video. 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 on any given channel. To make a playlist on a single channel: ❏ ❏ ❏ 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. 233