The Cue Point Scheduler Processor is used for RAS systems that do not provide End Break metadata events. For example, the RAS for a talk radio station that has ad breaks but no other metadata. We use the duration of the ad break or literal value to determine when to send an End Break metadata event.
This processor is distinguished from the other processors by the fact that it doesn't change the cuepoint, but depending on a condition generates a new cuepoint instead.
When the processor receives a message, it cancels an active schedule and creates a new one only if the message corresponds to the trigger. Thus, overlapping breaks will send only one end break at the end.
Param Name | Mandatory | Description | Possible Value |
---|---|---|---|
Trigger Key | Yes | Name of the RAS message field. E.g., | Not null. |
Trigger Value | Yes | Value the RAS message field contains that triggers the schedule of an end break message. Could be a mask (VB-like syntax). E.g., | Not null. |
Duration | Yes | A string template for duration value, could be a constant or a referral to a RAS message value. For example | Not null. |
Duration Format | No | Defines a format of the Duration value; uses the same format as the TimeSpan processor. E.g., | Default value is |
Offset | Yes | Offset in milliseconds to add to the scheduled cue point. | Not null. |
Example of Use
The above example is interpreted as follows:
When
ad_type
equalsBREAK
usecue_time_duration + 250
milliseconds (offset) as New Cue Point Schedule TimeCreate a new cue point with the following attributes:
ad_type
=END_BREAK
cue_time_duration
=0
cue_title
= copy of Trigger cue pointcue_title
Therefore, in
cue_time_duration + 250 milliseconds
send new cue point to OutputConnecter.
When a scheduled cue point is set, it will be cleared whenever a fresh cue point is received by RAS Adapter (as there is no need for the scheduled cue point).