OpenTV ENTera & OpenTV Platform Documentation

Enabling guest entitlements for a channel

Overview

There are several things you must do to enable the guest entitlements feature for an editorial channel:

  • Add custom WatchParty metadata field to the channel

  • Add the capability to the channel’s clientControls

These can all be done:

  • In OpCon

  • By making an API call

  • At ingest (XML)

These are explained in detail below.

Enabling guest entitlements for a channel in OpCon

To enable guest entitlements for a channel in OpCon, in Editorial Information for the channel, click EDIT CHANNEL, then:

  1. In, Non-locale Custom Fields:

    1. Find the WatchPartyRef field.

    2. Add the IDs of the guest entitlements capability product(s).

  2. In Capabilities:

    1. Click ADD PROPERTY.

    2. Select WATCHPARTY from the list.

  3. Click SAVE CHANGES.

See Managing Live channels for more information.

Enabling guest entitlements for a channel through an API call

You can enable guest entitlements for a channel through an API call:

The following fields must be set correctly on the editorial channel to enable the guest entitlements feature for that channel:

  • Add a WatchPartyRef capability product reference to the "locale": "none" metadata block. This contains a comma-delimited list of guest entitlement capability products:

    JSON
    ...
    "metadataSet": [
        {
          "locale": "none",
          "metadata": [
            {
              "key": "WatchPartyRef",
              "value": "<id_of_capability_product>[,...]"
            },
            ...
          ]
        }
      ],
      ...
    
  • Add the WATCHPARTY capability to the clientControls block:

    JSON
      ...
      "clientControls": [
        {
          "key": "WATCHPARTY",
          "value": true
        },
        ...
      ],
      ...
    

Enabling guest entitlements for a channel at ingest

To enable guest entitlements for a channel at ingest, make sure that the following are added to each editorialChannel for which the feature is to be enabled:

  • In cmsData > editorialChannel > metadataSet, add a new metadata element (for the “none” locale):

    <metadataSet locale="none">
    	...
    	<metadata key="WatchPartyRef">
    		<id_of_capability_product>[,...]
    	</metadata>
    	...
    </metadataSet>
    
  • In cmsData > editorialChannel > clientControls, add a new key/value pair, where the key is "WATCHPARTY" and the value is true.