OpenTV ENTera & OpenTV Platform Documentation
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Managing cue points

Overview

Cue points are markers in the timeline of a piece of content. They tell a client application where something happens in the content – for example, where the recap of the previous episode ends, where the opening credits start and end, or where the end credits start.

Client applications use cue points to offer features such as:

  • Skip recap and skip intro buttons, which let a user jump over a recap or the opening credits

  • A next episode button, which lets a user go straight to the next episode when the end credits start

You can define cue points on editorial content, on series and season content groups, and on catalogue nodes. On each of these, you can define them in two ways:

  • Directly – the editorial content, content group, or node has its own list of cue points (csCueList).

  • In a cue point profile – a named, reusable set of cue points that is stored centrally. You reference the profile from the editorial content, content group, or node (cueProfileId). This is useful when many items have the same cue points – for example, all the episodes of a series with a recap of the same length.

Content that has no cue points of its own inherits them from the season, series, or node that it belongs to. So, for example, you can define cue points once on a series, and all its episodes use them. See Which cue points are used, below.

Where you can define cue points

You can define cue points (and set a cue point profile) on the following entities:

Entity

Notes

Editorial content

VOD content, and the editorial content that is linked to a broadcast event.

To define cue points for a broadcast (live) event, set them on the editorial content that is linked to the event. You cannot set them on an event directly.

Content group

Only content groups whose type is series or season. Cue points on other types of content group are ignored.

Node

Cue points on a node apply to the content in that node (but not to the content in its child nodes).

In this release, you cannot define cue points on editorial channels, technical content, or technical channels.

You can set cue points:

Cue point fields

Each of these entities can have the following fields:

  • csCuesEnabled – whether cue points are used for the entity (true or false). If this is not set, cue points are used.

  • cueProfileId – the ID of the cue point profile to use. The profile must exist before you reference it.

  • csCueList – the entity's own list of cue points.

Each cue point in csCueList (or in a cue point profile) has the following fields:

Field

Description

name

Mandatory. A unique identifier or label for the cue point, for example, recapEnd, openingCreditsStart, or endCreditsStart.

type

The category of the cue point, for example, recap, credits, chapter, or custom.

description

A human-readable description of the cue point.

duration

The length of the section that the cue point marks, in milliseconds. For example, the length of the opening credits.

timeOffset

The position of the cue point, as a time from the start of the content, in milliseconds.

timePercentage

The position of the cue point, as a percentage of the content's duration, measured from the start (0–100).

timeFromEnd

The position of the cue point, as a time before the end of the content, in milliseconds.

timePercentageFromEnd

The position of the cue point, as a percentage of the content's duration, measured from the end (0–100).

metadata

Optional key/value pairs for any additional information that your client application needs.

Specify the position of each cue point using exactly one of timeOffset, timePercentage, timeFromEnd, and timePercentageFromEnd.

Make sure that percentages are between 0 and 100, and that times are within the length of the content. OpenTV Platform does not check these values.

For example, the following cue points mark the end of a 45-second recap, opening credits that start 2% of the way into the episode and last 15 seconds, and end credits that start two minutes before the end:

JSON
"csCueList": [
  {
    "name": "recapEnd",
    "type": "recap",
    "description": "End of the recap of the previous episode",
    "timeOffset": 45000
  },
  {
    "name": "openingCreditsStart",
    "type": "credits",
    "description": "Start of the opening credits",
    "timePercentage": 2,
    "duration": 15000
  },
  {
    "name": "endCreditsStart",
    "type": "credits",
    "description": "Start of the end credits",
    "timeFromEnd": 120000
  }
]

Cue point profiles

A cue point profile is a named set of cue points that you can reuse across many content items. Profiles are stored centrally, so if you change a profile, the change applies to all the content that uses it.

You can manage cue point profiles using the config-manager API (see Managing cue point profiles) or in OpCon.

Which cue points are used

When a client application requests content, OpenTV Platform works out which cue points apply to it and returns them in the content's csCueList. The client application does not need to look up profiles or parent entities itself.

OpenTV Platform works out the cue points for a content item as follows:

  1. If the content's csCuesEnabled is false, no cue points are used.

  2. If the content has its own cue points (a non-empty csCueList), they are used. In this case, any cue point profile that is set on the content is ignored.

  3. Otherwise, if the content references a cue point profile (cueProfileId), the profile's cue points are used.

  4. Otherwise, the cue points are inherited from the entities that the content belongs to (see below).

Entities are checked in the following order, and the first one that either has cue points or has csCuesEnabled set to false decides the result:

Content

Order in which entities are checked

VOD content

  1. The content groups that the content belongs to

  2. The season

  3. The series

  4. The node

Broadcast events and NPVR recordings

  1. The season

  2. The series

At each level:

  • If the entity has csCuesEnabled set to false, no cue points are used, and the entities above it are not checked.

  • If the entity has its own cue points, they are used.

  • Otherwise, if the entity references a cue point profile, the profile's cue points are used.

  • Otherwise, the next entity is checked.

So, for example, you can set a cue point profile on a series so that all its episodes share the same cue points, and still give individual episodes their own cue points where they differ.

Switching cue points off

To stop cue points being used for a content item, or for all the content in a season, series, or node, set csCuesEnabled to false on that entity. This is the recommended way to stop using cue points – rather than removing them.

NPVR recordings

When a broadcast event is recorded, the recording gets the cue points that apply to the event. Because you cannot set cue points on an event directly, these are the cue points of the editorial content that is linked to the event, or the ones that are inherited from its season or series (see Which cue points are used, above).

If these cue points change later, the recording is updated. However, if they are removed or switched off, recordings that have already been made keep their cue points.

See also