Skip to end of banner
Go to start of banner

Recording API v2

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Introduction

Users can request recordings of programs that air on channels that provide the recording service. Users can also request that new recordings are made automatically on their behalf as they become available in the channel's broadcast schedule. Recordings are owned by individual user profiles, but all user profiles of one user account share a common recording quota and a common set of licenses to record.

The recording API v2 spec can be viewed at Profile recordings

Entities overview

EntityPurpose
Broadcast slotThis entity originates from EPG API v4. It identifies a time slot on a channel where a program is aired. If the time slot is in the future, it may change or be removed depending on the broadcast schedule for that particular channel.
RecordingSpecifies recording of one broadcast slot for one user profile. It may be created explicitly by the user or automatically as part of an automated recording request. The recorded broadcast slot may be in the future or in the past, and as such it may or may not be available for streaming.
Recording GroupA group of Recordings. Recordings are automatically grouped by series. If a recording has no series, then they are part of the special "ungrouped" group.
Automated Recording RequestA request by the user to automatically create recordings for new Broadcast slots as they become available.

Recording

A user can create a new recording for their profile by calling the create recording endpoint. A user may record a program if the following are true:

  • Requested broadcast slot is recordable, i.e. not in the past and not blacklisted
  • Requested channel is recordable, i.e. the channel provides the recording service
  • User has sufficient license to record requested broadcast slot
  • User has sufficient storage space to record requested broadcast slot

When creating a recording, the client must provide the ID of the broadcast slot to be recorded, as obtained from EPG API v4.

Until the new EPG API v4 becomes available, clients can provide a programUid as obtained from EPG API v3. Note that this feature is temporary and will be removed in a future release.

The recording may be marked as favourite on creation and it can be marked or unmarked as favourite by calling the update recording endpoint.

Individual recordings can be deleted by calling the delete recording endpoint, or in a batch of multiple recordings by calling the batch delete recordings endpoint. TODO: update the link

Streaming

TODO

Recording search

TODO

Recording groups

Recordings are automatically grouped by series. The client can obtain a list of recording groups available to their profile by calling the recording groups endpoint.

Automated recording

TODO

  • No labels