BrightSign Object Reference Manual (FW 5.1) User Manual

Page 269

Advertising
background image

261

aa["VirtualChannel"] = "24.1"
print v.PlayFile(aa)

c.EnableScanDebug("")

CreateChannelDescriptor(a As Object) As Object: Creates an associative array that can either be
passed to the

roVideoPlayer.PlayFile()

method (to tune to a channel) or parsed for metadata. The generated

channel object can be based on one of the following:

o Index:

["ChannelIndex"] = 0

o Virtual channel number as a string in an associative array:

["VirtualChannel"] = "12.1"

o Channel name as a string:

["ChannelName"] = "KCBS"

Note: Channels are sorted internally by virtual channel, so you could use a ChannelIndex script to implement
standard channel up/down behavior.


These are the entries generated in the array:

o VirtualChannel
o ChannelName
o CentreFrequency
o ModulationType
o VideoPid

Advertising