Tribune Media

Tribune Media

Introduction

TMS EPG data is collected using 3 different files. These files are schedules.xml, programs.xml and sources.xml. Only schedules.xml file should be specified as a data source. Other files are processed automatically.
TMS resources: http://www.TMSResource.com

Documentation

Please refer to Tribune Media Documentation

MAPPING TMS TO ICAREUS EIT DATABASE

Icareus
File
Node
Attribute
Notes
service id
sources.xml
name
-
service id is defined from the list of configured services based on the source name.
start date
schedules.xml
event
date
 
start time
schedules.xml
time
-
The first available value is used.
duration
schedules.xml
tv
dur
 
content type
programs.xml
genre
genreId
The first available id is used. Please, refer to the attached spreadsheet to check TMS genres <-> DVB content types mapping.
free CA mode
-
-
-
always set to 0
language code
programs.xml
title
lang
converted from ISO 639-1 to ISO 639-2
name
programs.xml
titles
-
 
short description
programs.xml
descriptions
-
The shortest one is used.
long description
programs.xml
descriptions
-
The longest one is used.
PG rating
schedules.xml
tvRating
-
Only 'USA Parental Rating' type is processed.

TMS data files can be too big. As a result, it may take up to 1-2 hours to parse all the data.

Sample Files

schedules.xml
<?xml version="1.0" encoding="UTF-8"?>
<on xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="on_schedules_2.0.xsd" schemaVersion="2.0">
<header>
<content>On(r) TV: Schedules</content>
<created>2012-10-05</created>
<copyright>Copyright 2012 Tribune Media Services. All rights reserved.</copyright>
<start>2012-10-05T00:00:00</start>
<period>P14D</period>
</header>
<schedules type="tv">
<schedule sourceId="10021" prgSvcId="10021">
<event TMSId="EP000000211476" date="2012-10-05">
<times>
<time>00:00</time>
</times>
<tv dur="PT01H00M">
</tv>
<tvRating body="USA Parental Rating">TVPG</tvRating>
<quals>CC|Stereo|Premiere|HDTV</quals>
</event>
<event TMSId="EP000000211477" date="2012-10-05">
<times>
<time>01:00</time>
</times>
<tv dur="PT01H00M">
</tv>
</event>
</schedule>
</schedules>
</on>


programs.xml
<?xml version="1.0" encoding="UTF-8"?>
<on xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="on_programs_2.0.xsd" schemaVersion="2.0">
<header>
<content>On(r) TV: Programs</content>
<created>2012-10-05</created>
<copyright>Copyright 2012 Tribune Media Services. All rights reserved.</copyright>
<start>2012-10-05T00:00:00</start>
<period>P14D</period>
</header>
<programs>
<program TMSId="EP000000211476" rootId="9503060" connectorId="SH000000210000" seriesId="184299">
<titles>
<title size="120" type="full" lang="en">20/20</title>
</titles>
<descriptions>
<desc size="255" type="plot" lang="en">Victims of stalker and murderer Waseem Daker discuss his conviction.</desc>
<desc size="100" type="plot" lang="en">Victims of stalker and murderer Waseem Daker discuss his conviction.</desc>
<desc size="60" type="plot" lang="en">Victims of stalker and murderer Waseem Daker speak out.</desc>
<desc size="40" type="plot" lang="en">Waseem Daker&apos;s victims speak out.</desc>
</descriptions>
<cast>
<member personId="68086" ord="01">
<role>Anchor</role>
<name nameId="68086">
<first>Elizabeth</first>
<last>Vargas</last>
</name>
</member>
<member personId="354875" ord="02">
<role>Anchor</role>
<name nameId="363749">
<first>Chris</first>
<last>Cuomo</last>
</name>
</member>
</cast>
<progType>Series</progType>
<genres>
<genre genreId="157">Newsmagazine</genre>
</genres>
<origAirDate>2012-10-05</origAirDate>
<colorCode>Color</colorCode>
<episodeInfo>
<title size="150" type="full" lang="en">Stalked</title>
</episodeInfo>
<sourceType>Network</sourceType>
</program>
<program TMSId="EP000000211477" rootId="9503065" connectorId="SH000000210000" seriesId="184299">
<titles>
<title size="120" type="full" lang="en">20/20</title>
</titles>
<cast>
<member personId="68086" ord="01">
<role>Anchor</role>
<name nameId="68086">
<first>Elizabeth</first>
<last>Vargas</last>
</name>
</member>
<member personId="354875" ord="02">
<role>Anchor</role>
<name nameId="363749">
<first>Chris</first>
<last>Cuomo</last>
</name>
</member>
</cast>
<progType>Series</progType>
<genres>
<genre genreId="157">Newsmagazine</genre>
</genres>
<origAirDate>2012-10-12</origAirDate>
<colorCode>Color</colorCode>
<sourceType>Network</sourceType>
</program>
</programs>
</on>


Sources.xml
<?xml version="1.0" encoding="UTF-8"?>
<on xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="on_sources_2.0.xsd" schemaVersion="2.0">
<header>
<content>On(r) TV: Sources</content>
<created>2012-10-05</created>
<copyright>Copyright 2012 Tribune Media Services. All rights reserved.</copyright>
<start>2012-10-05T00:00:00</start>
<period>P14D</period>
</header>
<sources>
<prgSvcs>
<prgSvc sourceId="10002" prgSvcId="10002">
<name>3 Angels</name>
<address>
<city>West Frankfort</city>
<state>IL</state>
<postalCode>62896</postalCode>
<country>USA</country>
</address>
<type>Satellite</type>
<timeZone>Central Observing</timeZone>
<callSign>3ANGELS</callSign>
<edLangs>
<edLang>en</edLang>
</edLangs>
<bcastLangs>
<bcastLang>en</bcastLang>
</bcastLangs>
<URL>www.3abn.org/</URL>
<images>
<image type="image/png" width="360" height="270" primary="true" category="Logo">
<URI>h3/NowShowing/10002/s10002_h3_aa.png</URI>
</image>
<image type="image/png" width="90" height="67" primary="true" category="Logo">
<URI>h4/NowShowing/10002/s10002_h4_aa.png</URI>
</image>
<image type="image/png" width="180" height="135" primary="true" category="Logo">
<URI>h5/NowShowing/10002/s10002_h5_aa.png</URI>
</image>
</images>
</prgSvc>
<prgSvc sourceId="10021" prgSvcId="10021">
<name>AMC</name>
<address>
<city>Jericho</city>
<state>NY</state>
<postalCode>11753</postalCode>
<country>USA</country>
</address>
<type>Satellite</type>
<timeZone>Eastern Observing</timeZone>
<callSign>AMC</callSign>
<edLangs>
<edLang>en</edLang>
</edLangs>
<bcastLangs>
<bcastLang>en</bcastLang>
</bcastLangs>
<URL>www.amctv.com</URL>
<images>
<image type="image/png" width="360" height="270" category="Logo">
<URI>h3/NowShowing/10021/s10021_h3_ba.png</URI>
</image>
<image type="image/png" width="90" height="67" category="Logo">
<URI>h4/NowShowing/10021/s10021_h4_ba.png</URI>
</image>
<image type="image/png" width="90" height="67" primary="true" category="Logo">
<URI>h4/NowShowing/10021/s10021_h4_aa.png</URI>
</image>
<image type="image/png" width="360" height="270" primary="true" category="Logo">
<URI>h3/NowShowing/10021/s10021_h3_aa.png</URI>
</image>
<image type="image/png" width="180" height="135" primary="true" category="Logo">
<URI>h5/NowShowing/10021/s10021_h5_aa.png</URI>
</image>
<image type="image/png" width="180" height="135" category="Logo">
<URI>h5/NowShowing/10021/s10021_h5_ba.png</URI>
</image>
</images>
</prgSvc>
</prgSvcs>
</sources>
</on>