Difference between revisions of "LiveChannel"
Jump to navigation
Jump to search
Line 49: | Line 49: | ||
{{!}} Icon images associated to the channel | {{!}} Icon images associated to the channel | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
+ | |||
+ | ! isExternal | ||
+ | {{!}} bool | ||
+ | {{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 3.0!''' Indicates if the channel is External or not. | ||
+ | {{!}}- valign="top" | ||
+ | |||
! ID | ! ID | ||
Line 77: | Line 83: | ||
! TimeShift | ! TimeShift | ||
{{!}} bool | {{!}} bool | ||
− | {{!}} | + | {{!}} Channel with TimeShift (RestartTV) capabilities true/false |
{{!}}- valign="top" | {{!}}- valign="top" | ||
! Title | ! Title | ||
− | {{!}} | + | {{!}} String |
− | {{!}} | + | {{!}} Channel title (may be different to name). |
{{!}}- valign="top" | {{!}}- valign="top" | ||
Line 102: | Line 108: | ||
: "EpgLiveChannelReferenceId": "1", | : "EpgLiveChannelReferenceId": "1", | ||
: "Genres": array of genres id, | : "Genres": array of genres id, | ||
− | : "Icons": Array of [[Image]] objects, | + | : "Icons": [ |
− | : "ResizableImages": Array of [[Image]] objects, | + | :: Array of [[Image]] objects |
− | : "TimeShift": true | + | : ], |
+ | : "ResizableImages": [ | ||
+ | :: Array of [[Image]] objects | ||
+ | : ], | ||
+ | : "TimeShift": true, | ||
+ | : "isExternal": false | ||
} | } | ||
Line 119: | Line 130: | ||
{{!}} Initial data type implementation | {{!}} Initial data type implementation | ||
{{!}} | {{!}} | ||
+ | {{!}}- valign="top" | ||
+ | |||
+ | ! 3.0 | ||
+ | {{!}} Added: | ||
+ | * isExternal | ||
+ | {{!}} Ricardo Calvo | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
Revision as of 18:30, 25 March 2015
Represents a LiveChannel object, modeling all the properties or fields associated with live (linear TV) channels.
Members
Field | Data Type | Description |
---|---|---|
Active | bool | Channel active true/false |
CallLetter | String | Call letter of the channel |
ChannelNumber | int | Numeric channel number |
Description | String | Short description of the of the live channel, as appearing in EPG file |
Dvr | bool | "DVR enabled" channel true/false |
EpgLiveChannelReferenceId | String | Channel ID as appearing in EPG file. |
Genres | Array of int | List of genres IDs associated to the channel. |
Icons | Array of Image object | Icon images associated to the channel |
isExternal | bool | NEW IN 3.0! Indicates if the channel is External or not. |
ID | int | Internal (MiB) ID of the channel. |
Name | String | Channel name. |
Ppv | bool | PPV channel true/false |
RequiresPin | bool | Channel requiring PIN true/false |
ResizableImages | Array of Image object | It provides the list of original images (non resized) associated with this channel. The application should use the Thumbox Service to perform dynamic resizing of the images in order to adapt them to the User Interface. |
TimeShift | bool | Channel with TimeShift (RestartTV) capabilities true/false |
Title | String | Channel title (may be different to name). |
Example
{
- "ID": 235,
- "Name": "La 1",
- "Title": "TVE1",
- "Description": "",
- "Active": true,
- "Ppv": false,
- "Dvr": false,
- "RequiresPin": false,
- "CallLetter": "La1",
- "ChannelNumber": 1,
- "EpgLiveChannelReferenceId": "1",
- "Genres": array of genres id,
- "Icons": [
- Array of Image objects
- ],
- "ResizableImages": [
- Array of Image objects
- ],
- "TimeShift": true,
- "isExternal": false
}
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial data type implementation | |
3.0 | Added:
|
Ricardo Calvo |
See also
- Image object
- Network PVR Service methods
- TimeShift Service methods
- Thumbox Service for image resizing