Media management commands – Extron Electronics MS9500 HD FrEND Plus User Manual
Page 69

MS9500GL HD FrEND Plus
Chapter 12: Remote Control Protocols
Media Management Commands
GetMediaTree
This command is used to retrieve the media storage tree from the player.
NOTE: This command does not return a file listing, only the MS9500GL tree structure.
The player responds with a series of path commands with the following structure; the tree is terminated with an
empty MediaBranch command:
MediaBranch <channel list> <mediapath>
The <channel list> specifies the channels that can use the media (This will be ‘1’ in the MS9500GL).
<mediapath> specifies the name of the branch in a tree format using a UNIX style format. The control
system will not interpret the string but will pass it back to the player when creating playlists.
The GetMediaTree command essentially performs a left hand depth first traverse of the media tree.
The following exchange shows an example response from the player.
MediaBranch 1 “/D:/Video/subfolder1”
MediaBranch 1 “/D:/Video/subfolder2/oldvideo”
MediaBranch
In this example the player wraps two hard drives (e and f) into a UNIX style tree by simply using the letter as the
root of the tree.
GetClips <mediapath>
This command lists the clips available in a MediaBranch passed in the <string> parameter.
The player responds with a series of clip commands with the following structure. The clip list is terminated with
an empty Clip command.
Clip <mediapath> <clip>
Where <string1> contains a branch returned by GetMediaTree, and <string2> is the name of a clip.
The following exchange shows an example response from the player.
Control:
GetClips /D:/Video
Player:
Clip /D:/Video “clipname1.mpg”
Player:
Clip /D:/Video “clipname2.mpg”
Player:
Clip /D:/Video “clipname…N.mpg”
Player:
Clip
65 Rev.
1.26