Skip to content

Transition

Source code in docs_src/capo_mediatailor/types/transition.py
class Transition(TypedDict, closed=True):
    duration_millis: NotRequired["capo_mediatailor.types.__long.__long"]
    """<p>The duration of the live program in seconds.</p>"""
    relative_position: "capo_mediatailor.types.relative_position.RelativePosition"
    """<p>The position where this program will be inserted relative to the <code>RelativePosition</code>.</p>"""
    relative_program: NotRequired["capo_mediatailor.types.__string.__string"]
    """<p>The name of the program that this program will be inserted next to, as defined by <code>RelativePosition</code>.</p>"""
    scheduled_start_time_millis: NotRequired["capo_mediatailor.types.__long.__long"]
    """<p>The date and time that the program is scheduled to start, in epoch milliseconds.</p>"""
    type: "capo_mediatailor.types.__string.__string"
    """<p>Defines when the program plays in the schedule. You can set the value to <code>ABSOLUTE</code> or <code>RELATIVE</code>.</p> <p> <code>ABSOLUTE</code> - The program plays at a specific wall clock time. This setting can only be used for channels using the <code>LINEAR</code> <code>PlaybackMode</code>.</p> <p>Note the following considerations when using <code>ABSOLUTE</code> transitions:</p> <p>If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.</p> <p>If there are gaps in playback, MediaTailor plays the <code>FillerSlate</code> you configured for your linear channel.</p> <p> <code>RELATIVE</code> - The program is inserted into the schedule either before or after a program that you specify via <code>RelativePosition</code>.</p>"""

duration_millis instance-attribute

duration_millis: NotRequired[__long]

The duration of the live program in seconds.

relative_position instance-attribute

relative_position: RelativePosition

The position where this program will be inserted relative to the RelativePosition.

relative_program instance-attribute

relative_program: NotRequired[__string]

The name of the program that this program will be inserted next to, as defined by RelativePosition.

scheduled_start_time_millis instance-attribute

scheduled_start_time_millis: NotRequired[__long]

The date and time that the program is scheduled to start, in epoch milliseconds.

type instance-attribute

type: __string

Defines when the program plays in the schedule. You can set the value to ABSOLUTE or RELATIVE.

ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.

Note the following considerations when using ABSOLUTE transitions:

If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.

If there are gaps in playback, MediaTailor plays the FillerSlate you configured for your linear channel.

RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.