User Tools

Site Tools


api:iptv:app:recording_get

API : IPTV : App : Recording get

Introduction

This request will return the full details about a single program recorded by the user.

Request

URL https://api.telecomx.dk/iptv/app/recording/EPG_ID
Method GET
Params EPG_ID Id Id of the program to return full details for.
Query token String Session token.
profile ObjectId ID of the user profile to play the recording for.

Query examples

https://api.telecomx.dk/iptv/app/recording/7_46574645324

Response

JSON object
_id String Unique ID of the program.
programId ObjectId Unique program ID (if known)
channelId Number Id of the TV channel carrying this show.
start Date Date and time the program starts.
end Date Date and time the program ends.
duration Number Length of the program in minutes.
title String Title of the program.
subTitle String Teaser/sub title - short description or episode title for a series episode.
description String Long description for the program.
genres Array List of genres.
series Object Episode data - only available for series.
series.episode Number Episode number in the season, if available.
series.episodesInSeason Number Number of episodes in the season, if available.
series.season Number Season number, if available.
series.id String Unique id of the series, if available.
date Date Date program/movie/series was released/first shown, if available.
country string Country of origin (ISO3166-2 country code). If multiple countries, comma separated string, if available.
credits Array List of credited persons for this program.
credits[].type String What the person is credited for: ACTOR, DIRECTOR, PRODUCER etc.
credits[].role String Name of the role played, if type is ACTOR.
credits[].name String Name of person.
images Array List of poster images available for the program.
images[].type String Image version data, usually WIDTHxHEIGHT.
images[].url String URL to retrieve the image.
favorite Boolean True if recording is marked as favorite and will not be auto deleted when it expires.
expire Date If not favorite marked, this is the date that the recording will be auto-deleted. Otherwise null.
position Number Last recorded playback position for this profile, in seconds.
watchList Boolean If true, then this profile has this program in their watchlist. Only relevant for IPTV private, using profiles
streams Array Properties used, if the program is available on streaming services
streams[].streamingService String (enum) Which streaming service this stream is from.
streams[].logo String URL to logo of the streaming service
streams[].logoId ObjectId ID of logo
streams[].name String Display name of streaming service
streams[].url String URL/deeplink to content

Note that properties holding no value may be omitted from the object.

Example

{
  _id: '7_1482855900',
  channelId: 7,
  programId: '1234567890ABCD1234567890'
  start: '2016-12-27T16:25:00Z',
  end: '2016-12-27T16:55:00Z',
  duration: 30,
  title: 'Grand Danois',
  description: 'Satire. Se eller gense Niels Hausgaard og Anders Grau, når de sammen med en række danske komikere og skuespillere behandler otte emner i dette satiriske sketchshow. Det er alt lige fra danskhed til lov og orden, der kommer under kærlig behandling.',
  favorite: false,
  expire: '2019-01-01T00:00:00.000Z',
  genres: [
    'Komedie'
  ],
  position: 1026,
  series: {
    episode: 6,
    season: 2,
    id: '232174273'
  },
  images: [
    {
      type: "365x205",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/365/205/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "411x231",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/411/231/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "220x120",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/220/120/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "1080x607",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/1080/607/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "484x272",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/484/272/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "552x310",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/552/310/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "245x138",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/245/138/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    }
  ],
  streams: [
    {
      streamingService: 'NETFLIX',
      name: 'Netflix',
      url: 'https://example.com/video/12937129739/,
      logo: 'https://image.powernet.tv/1234567890ABCD1234567890.png',
      logoId: '1234567890ABCD1234567890'
    }
  ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 id Not found
404 program Not found
500 internal_error <Unspecified>
api/iptv/app/recording_get.txt · Last modified: 2023/02/10 12:20 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki