4,012 bytes added
, 16:37, 14 August 2015
{{Information|Message=You are accessing the 3.0 version of this data type, according to <span style="font-weight:bold">/service (3.0)</span> specification. To access newest versions of this object, access [[LiveChannelsPlayback_3.0]]}}
{{Api_DataType_Spec
|Description=Represents the information for a live schedule, mainly from data coming from EPG ingestion.
|Members=
{{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10"
{{!}}- style="background:#88ccff;font-size:110%"
! Field
! Data Type
! Description
{{!}}- valign="top"
! Active
{{!}} bool
{{!}} Live channel Active true/false
{{!}}- valign="top"
! CallLetter
{{!}} String
{{!}} Channel call letter
{{!}}- valign="top"
! ChannelNumber
{{!}} int
{{!}} Channel number
{{!}}- valign="top"
! Description
{{!}} String
{{!}} Channel description
{{!}}- valign="top"
! Dvr
{{!}} bool
{{!}} Whether the channel has DVR enabled
{{!}}- valign="top"
! EpgLiveChannelReferenceId
{{!}} String
{{!}} EPG Live Channel Reference ID (channel ID as appearing in EPG)
{{!}}- valign="top"
! Genres
{{!}} array of int
{{!}} List of genres IDs associated to channel
{{!}}- valign="top"
! Icons
{{!}} Array of [[Image|Image]] object
{{!}} Icon images associated to the channel
{{!}}- valign="top"
! ID
{{!}} int
{{!}} Internal (MiB) ID of the channel.
{{!}}- valign="top"
! isExternal
{{!}} bool
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 3.0!''' Indicates if the channel is external or not.
{{!}}- valign="top"
! IsPlayback
{{!}} bool
{{!}} Whether the channel has playback enabled
{{!}}- valign="top"
! Name
{{!}} String
{{!}} Channel name.
{{!}}- valign="top"
! PlaybackInfos
{{!}} Array of [[PlaybackInfo]] object
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 3.0!''' Playback info for specific device types requested in deviceTypes filter.
{{!}}- valign="top"
! Ppv
{{!}} bool
{{!}} PPV channel true/false
{{!}}- valign="top"
! RequiresPin
{{!}} bool
{{!}} Channel requiring PIN true/false
{{!}}- valign="top"
! ResizableImages
{{!}} Array of [[Image|Images]] object
{{!}} It provides the list of original images (non resized) associated with this channel. The application should use the [[UNIAPI_Specification#ThumboxService| Thumbox Service]] to perform dynamic resizing of the images in order to adapt them to the User Interface.
{{!}}- valign="top"
! TimeShift
{{!}} bool
{{!}} Channel with TimeShift (RestartTV) capabilities true/false
{{!}}- valign="top"
! Title
{{!}} String
{{!}} Title of the LiveChannelsPlayback
{{!}}- valign="top"
{{!}}}
|Example=
{
: "ID": 250,
: "Name": "Disney Junior",
: "Title": "Disney Junior",
: "Description": "",
: "Active": true,
: "Ppv": false,
: "Dvr": true,
: "RequiresPin": false,
: "CallLetter": "DisnJ",
: "ChannelNumber": 1,
: "EpgLiveChannelReferenceId": "16",
: "Genres": [],
: "Icons": [
:: Array of [[Image|Image]] objects
: ],
: "ResizableImages": [
:: Array of [[Image|Image]] objects
: ],
: "TimeShift": false,
: "IsPlayback": true,
: "PlaybackInfos": [
:: Array of [[PlaybackInfo]] object
: ],
: "IsExternal": false
}
|KnownIssues=
None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial data type implementation
{{!}}
{{!}}- valign="top"
! 3.0
{{!}} Added PlaybackInfos
{{!}} Alberto Los Santos
{{!}}- valign="top"
! 3.0
{{!}} Added:
* isExternal
{{!}} Ricardo Calvo
{{!}}- valign="top"
{{!}}}
|SeeAlso=
* [[Image|Image]] object
* [[PlaybackType|PlaybackType]] enumeration
* [[UNIAPI_Specification#Network_Pvr_Service| Network PVR Service]] methods
* [[UNIAPI_Specification#Timeshift_Service| TimeShift Service]] methods
* [[UNIAPI_Specification#ThumboxService| Thumbox Service]] for image resizing
}}