Difference between revisions of "ExtraMetadata"

From Gvp-public
Jump to navigation Jump to search
 
(16 intermediate revisions by 3 users not shown)
Line 13: Line 13:
  
 
! ChannelId
 
! ChannelId
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} The LiveChannel ID of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Schedule''' (64)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! ChannelTitle
 
! ChannelTitle
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} The LiveChannel Title of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Schedule''' (64)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! ProgramId
 
! ProgramId
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} The ProgramID of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Schedule''' (64)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! Stars
 
! Stars
{{!}} int
+
{{!}} float
{{!}}  
+
{{!}} The Stars of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! Duration
 
! Duration
 
{{!}} int
 
{{!}} int
{{!}}  
+
{{!}} The Duration of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Schedule''' (64)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
  
! Year
+
! ChildrenCount
 
{{!}} int
 
{{!}} int
{{!}}  
+
{{!}} The number of children of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! CallLetter
 
! CallLetter
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} {{!}} The CallLetter of the liveChannel of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Schedule''' (64)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! ChannelNumber
 
! ChannelNumber
{{!}} int
+
{{!}} sting
{{!}}  
+
{{!}} The ChannelNumber of the liveChannel of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Schedule''' (64)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! ActionUrl
+
! QualityAvailabity
 
{{!}} int
 
{{!}} int
{{!}}  
+
{{!}} No available
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! TrailerPlayReady
+
! ActionUrl
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} No available
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 
  
 
! EpgChannelId
 
! EpgChannelId
{{!}} int
+
{{!}} string
{{!}}
+
{{!}} No useful
{{!}}- valign="top"
 
 
 
! TrailerSS
 
{{!}} int
 
{{!}}
 
{{!}}- valign="top"
 
 
 
! TrailerWVAS
 
{{!}} int
 
{{!}}
 
{{!}}- valign="top"
 
 
 
! TrailerWVCBS
 
{{!}} int
 
{{!}}
 
{{!}}- valign="top"
 
 
 
! TrailerHLS
 
{{!}} int
 
{{!}}
 
{{!}}- valign="top"
 
 
 
 
 
! TrailerDTP
 
{{!}} int
 
{{!}}
 
{{!}}- valign="top"
 
 
 
! QualityAvailabity
 
{{!}} int
 
{{!}}  
 
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! Distributor
 
! Distributor
{{!}} int
+
{{!}} string
{{!}}  
+
{{!}} The Distributor of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! CommercializationType
+
! [[CommercializationType]]
{{!}} int
+
{{!}} int (enum)
{{!}}  
+
{{!}} The commercializationType of this catalogItem. Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! Subscriptions
 
! Subscriptions
{{!}} Array
+
{{!}} Array of int
{{!}} Array of Subscription IDs (Array). Applies to [[CatalogItemType]]:
+
{{!}} Array of Subscription IDs. Applies to [[CatalogItemType]]:
 
* '''Movie''' (1)
 
* '''Movie''' (1)
 
* '''LiveChannel''' (256)
 
* '''LiveChannel''' (256)
Line 119: Line 113:
 
* '''Episode''' (2048)
 
* '''Episode''' (2048)
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 +
 +
! Trailers
 +
{{!}} Array of Trailers object (ID, Quality and PlayType).
 +
{{!}} Applies to [[CatalogItemType]]:
 +
* '''Movie''' (1)
 +
* '''Serie''' (512)
 +
* '''Season''' (1024)
 +
* '''Episode''' (2048)
 +
{{!}}- valign="top"
 +
 +
! [[TransparentProvider]]
 +
{{!}} int (enum)
 +
{{!}} bgcolor="green" {{!}} '''NEW in 4.0''' Provider (None, HBO, Fox...) of the TransparentCatchup content
 +
{{!}}- valign="top"
 +
 
{{!}}}
 
{{!}}}
 
  
  
Line 133: Line 141:
 
: "Distributor" : "SimpleXML",                 
 
: "Distributor" : "SimpleXML",                 
 
: "CommercializationType" : 2,                 
 
: "CommercializationType" : 2,                 
: "Subscriptions" : [10]
+
: "Subscriptions" : [10],
 +
: "TransparentProvider" : 0,
 +
: "Trailers" : [
 +
:          {
 +
::            "ID": 6093,
 +
::            "PlayType": 16,
 +
::            "Quality": 3
 +
::            }
 +
:    ]
 
}  
 
}  
  
Line 158: Line 174:
 
* Refactoring to include different data types instead of String
 
* Refactoring to include different data types instead of String
 
* Included Subscriptions parameter (array of SubscriptionIDs)
 
* Included Subscriptions parameter (array of SubscriptionIDs)
 +
* Included CommercializationType
 +
* Included Trailers property
 +
* Removed TrailerPlayReady, TrailerWidevine, TrailerSS, TrailerWVCBS, TrailerHLS, TrailerWVAS, TrailerDTP properties
 
{{!}} Francisco Milagro
 
{{!}} Francisco Milagro
 +
{{!}}- valign="top"
 +
 +
! 4.0
 +
{{!}} Added field TransparentProvider
 +
{{!}} Jose A. Jiménez
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  

Latest revision as of 10:03, 27 June 2016

Infobox info icon.svg.png

You are accessing the latest version of this data type, according to /service3.0 (3.2) specification. To access older versions of this object, access ExtraMetatada_3.0


ExtraMetadata is an object with a different extra metadata depending on the CatalogItemType that is being returned.

Members

Field Data Type Description
ChannelId string The LiveChannel ID of this catalogItem. Applies to CatalogItemType:
  • Schedule (64)
ChannelTitle string The LiveChannel Title of this catalogItem. Applies to CatalogItemType:
  • Schedule (64)
ProgramId string The ProgramID of this catalogItem. Applies to CatalogItemType:
  • Schedule (64)
Stars float The Stars of this catalogItem. Applies to CatalogItemType:
  • Movie (1)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
Duration int The Duration of this catalogItem. Applies to CatalogItemType:
  • Movie (1)
  • Schedule (64)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
ChildrenCount int The number of children of this catalogItem. Applies to CatalogItemType:
  • Movie (1)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
CallLetter string The CallLetter of the liveChannel of this catalogItem. Applies to CatalogItemType:
  • Schedule (64)
ChannelNumber sting The ChannelNumber of the liveChannel of this catalogItem. Applies to CatalogItemType:
  • Schedule (64)
QualityAvailabity int No available
ActionUrl string No available
EpgChannelId string No useful
Distributor string The Distributor of this catalogItem. Applies to CatalogItemType:
  • Movie (1)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
CommercializationType int (enum) The commercializationType of this catalogItem. Applies to CatalogItemType:
  • Movie (1)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
Subscriptions Array of int Array of Subscription IDs. Applies to CatalogItemType:
  • Movie (1)
  • LiveChannel (256)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
Trailers Array of Trailers object (ID, Quality and PlayType). Applies to CatalogItemType:
  • Movie (1)
  • Serie (512)
  • Season (1024)
  • Episode (2048)
TransparentProvider int (enum) NEW in 4.0 Provider (None, HBO, Fox...) of the TransparentCatchup content


Example

{

"Stars" : 5,
"Audience" : 0,
"Distributor" : "SimpleXML",
"CommercializationType" : 2,
"Subscriptions" : [10],
"TransparentProvider" : 0,
"Trailers" : [
{
"ID": 6093,
"PlayType": 16,
"Quality": 3
}
]

}


Known issues

None


Version history

API Version Number Change description Changes author
2.4 Initial data type implementation Harley Cabral
3.2 (Neuromancer)
  • Refactoring to include different data types instead of String
  • Included Subscriptions parameter (array of SubscriptionIDs)
  • Included CommercializationType
  • Included Trailers property
  • Removed TrailerPlayReady, TrailerWidevine, TrailerSS, TrailerWVCBS, TrailerHLS, TrailerWVAS, TrailerDTP properties
Francisco Milagro
4.0 Added field TransparentProvider Jose A. Jiménez


See also