beautypg.com

Media management commands – Extron Electronics MS9200P User Manual

Page 75

background image

HD Player

Chapter 12: Remote Control Protocols

75

Rev. 6.8

Media Management Commands

GetMediaTree

This command is used to retrieve the media storage tree from the player. This command doesn’t return a file
listing, only the 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

The specifies the channels that can use the media. 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,2,3,4 “/e”

MediaBranch 1,2,3,4 “/e/exhibit”

MediaBranch 1,2,3,4 “/e/exhibit/mainshow”

MediaBranch 1,2,3,4 “/e/exhibit/grids”

MediaBranch 5,6,7,8 “/f”

MediaBranch 5,6,7,8 “/f/show version 1”

MediaBranch 5,6,7,8 “/f/show version 2”

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

This command lists the clips available in a MediaBranch passed in the 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

Where contains a branch returned by GetMediaTree, and is the name of a clip.

The following exchange shows an example response from the player.

Control:

GetClips “/e/exhibits”

Player:

Clip “/e/exhibits” “Main screen L.mpg”

Player:

Clip “/e/exhibits” “Main screen R.mpg”

Player:

Clip “/e/exhibits” “Main screen C.mpg”

Player:

Clip