TV-Anytime

TV-Anytime

Introduction

TV-Anytime EPG format specifies an XML file which contains first a program information table which identifies the programs using crid ids and after this a schedule of events that refer back to the program information table. Note that multiple events can refer to the same program, so the crid is not used as an original id in the Playout database.

Mapping TV-Anytime to Icareus Playout

Playout eit_event* table column
value from TV-Anytime EPG XML
Comment
event_id

auto generated
service_id
serviceIdRef
The service id is found by matching the serviceIdRef to a service name configured in Playout, 
or to the channel alias if that is given, see below at TV-Anytime configuration
start_time 
PublishedStartTime
 
duration
PublishedDuration 
 
content_type
-
value 0 is used
free_ca_mode
-
value 0 is used
original_id
-
value 0 is used
lang_code
BasicDescription's Title's xml:lang 
 
name
BasicDescription's Title's type="main"
 
short_info
BasicDescription's Synopsis's length="short" 
 
extended_info
BasicDescription's Synopsis's length="long" 
 
country_code
-
value 902 (all countries) is used
rating
-
value 0 is used
position
-
value 0 is used

TV-ANYTIME FORMAT

This is an example of TV-Anytime format EPG data:

Example of TV-Anytime format
<?xml version="1.0" encoding="UTF-8"?>
<TVAMain publisher="NPO Programma Gegevens" publicationTime="2019-03-14T11:48:46.800+01:00" version="300" xsi:schemaLocation="urn:bds:metadata:2004 XSDSchema/tva_v13_am1_bds1r2.xsd"
    xmlns="urn:tva:metadata:2004"
    xmlns:mpeg7="urn:mpeg:mpeg7:schema:2001"
    xmlns:date="http://exslt.org/dates-and-times">
    <ProgramDescription>
        <ProgramInformationTable>
            <ProgramInformation programId="crid://npo/programmagegevens/1626505320668">
                <BasicDescription>
                    <Title xml:lang="NL" type="main">VRT Journaal</Title>
                    <Title xml:lang="NL" type="episodeTitle" />
                    <Synopsis xml:lang="NL" length="long">Nieuws en actualiteiten.</Synopsis>
                    <Synopsis xml:lang="NL" length="short">Nieuws en actualiteiten.</Synopsis>
                    <Synopsis xml:lang="NL" length="medium">Nieuws en actualiteiten.</Synopsis>
                    <Genre href="urn:tva:metadata:cs:2004:07">
                        <Name xml:lang="NL">Informatief</Name>
                    </Genre>
                    <Genre href="urn:tva:metadata:cs:2004:0721" type="secondary">
                        <Name xml:lang="NL">Nieuws/actualiteiten</Name>
                    </Genre>
                    <Language>NL</Language>
                    <AudioDescription>false</AudioDescription>
                    <ProductionLocationList>
                        <ProductionLocation code="BE" />
                    </ProductionLocationList>
                    <ReleaseInformation>
                        <ReleaseDate>
                            <Year>2019</Year>
                        </ReleaseDate>
                    </ReleaseInformation>
                    <TotalEpisodes>365</TotalEpisodes>
                    <EpisodeNumber>70</EpisodeNumber>
                    <OneLineDescription>Nieuws en actualiteiten.</OneLineDescription>
                </BasicDescription>
            </ProgramInformation>
            <ProgramInformation programId="crid://npo/programmagegevens/1626505246668">
                <BasicDescription>
                    <Title xml:lang="NL" type="main">Typisch Thorn</Title>
                    <Title xml:lang="NL" type="episodeTitle" />
                    <Title xml:lang="NL" type="parentSeriesTitle">Typisch</Title>
                    <Synopsis xml:lang="NL" length="long">Typisch is drie weken lang in het witte stadje Thorn in Noord-Limburg. Hier stoppen de bussen met toeristen uit China en Japan om zich te vergapen aan de bijzondere middeleeuwse kerk en waar je de geschiedenis kunt voelen die terug gaat tot de 11e eeuw. Hier lopen zelfs geheimzinnige aardstralen, zeggen de wichelroedelopers. Er zijn twee harmonieën die presteren op topniveau en ze vieren natuurlijk carnaval in Thorn. Een hechte gemeenschap die oude tradities in ere houdt.</Synopsis>
                    <Synopsis xml:lang="NL" length="short">Rob is valkenier en de woestijnhavik Meneer woont bij hem in huis, in tegenstelling tot de andere roofvogels.</Synopsis>
                    <Synopsis xml:lang="NL" length="medium">Rob is valkenier en de woestijnhavik Meneer woont bij hem in huis, in tegenstelling tot de andere roofvogels. Vroeger was Rob aannemer, maar zestien jaar geleden kreeg hij een ernstig ongeluk en belandde in een rolstoel. Hij heeft zijn leven drastisch omgegooid. En om in vorm te blijven traint-ie keihard in de sportschool. Mevrouw Grispen is een echte Thorense en zorgt voor de zwerfkatten in de buurt. Die krijgen heel goed te eten: mevrouw Grispen kookt rijst met kipfilet voor ze. Morgen gaat de processie, de kerkelijke optocht, van start in Thorn. Dan draagt de deken een nieuwe mantel, die gemaakt is door de Spaanse Angeles, de kunstenares die voor de liefde naar Thorn kwam. Vandaag legt ze de laatste hand aan deze koorkap. En Marleen bouwt met hulp van de koster het 'hemeltje' op, een draagbaar afdakje waar de deken morgen onder gaat lopen. Tenminste, als de processie doorgaat, want als het regent wordt de boel afgeblazen.</Synopsis>
                    <Genre href="urn:tva:metadata:cs:2004:07">
                        <Name xml:lang="NL">Informatief</Name>
                    </Genre>
                    <Language>NL</Language>
                    <Subtitling href="urn:bds:metadata:cs:SubtitlingCS:2007:TeletextSubtitles">
                        <Name xml:lang="NL">Teletekst ondertitels</Name>
                    </Subtitling>
                    <AudioDescription>false</AudioDescription>
                    <ProductionLocationList>
                        <ProductionLocation code="NL" />
                    </ProductionLocationList>
                    <ReleaseInformation>
                        <ReleaseDate>
                            <Year>2019</Year>
                        </ReleaseDate>
                    </ReleaseInformation>
                    <TotalEpisodes>12</TotalEpisodes>
                    <EpisodeNumber>2</EpisodeNumber>
                    <Season>6</Season>
                    <OneLineDescription>Rob is valkenier en de woestijnhavik Meneer woont bij hem in huis, in tegenstelling tot de andere roofvogels.</OneLineDescription>
                    <HD>HD</HD>
                </BasicDescription>
            </ProgramInformation>
        </ProgramInformationTable>
        <GroupInformationTable></GroupInformationTable>
        <ProgramLocationTable>
            <Schedule serviceIDRef="BVNT" start="2019-03-11T13:00:00+01:00" end="2019-03-12T12:30:00+01:00">
                <ScheduleEvent>
                    <Program crid="crid://npo/programmagegevens/1626505320668" />
                    <PublishedStartTime>2019-03-11T13:00:00+01:00</PublishedStartTime>
                    <PublishedDuration>PT00H30M50S</PublishedDuration>
                    <Repeat value="true" />
                    <RepeatText>01-01-2019</RepeatText>
                    <BroadcasterList>
                        <Broadcaster code="VRT" />
                    </BroadcasterList>
                    <OtherIdentifier type="ProductID">POW_03992235</OtherIdentifier>
                    <OtherIdentifier type="SeriesID">POW_03992165</OtherIdentifier>
                </ScheduleEvent>
                <ScheduleEvent>
                    <Program crid="crid://npo/programmagegevens/1626505246668" />
                    <PublishedStartTime>2019-03-11T13:30:00+01:00</PublishedStartTime>
                    <PublishedDuration>PT00H26M10S</PublishedDuration>
                    <Repeat value="true" />
                    <BroadcasterList>
                        <Broadcaster code="BV" />
                    </BroadcasterList>
                    <OtherIdentifier type="ProductID">BV_101390825</OtherIdentifier>
                    <OtherIdentifier type="SeriesID">BV_101390815</OtherIdentifier>
                    <OtherIdentifier type="ParentSeriesID">BV_101386658</OtherIdentifier>
                </ScheduleEvent>
            </Schedule>
        </ProgramLocationTable>
        <CreditsInformationTable>
            <PersonName personNameId="111302646517">
                <mpeg7:GivenName xml:lang="NL" initial="">Jeroen</mpeg7:GivenName>
                <mpeg7:FamilyName xml:lang="NL">Snel</mpeg7:FamilyName>
            </PersonName>
        </CreditsInformationTable>
    </ProgramDescription>
</TVAMain>

Configuration

To use TV-Anytime format in Icareus Playout, the license must include the feature TV-Anytime Data Source.
To enable TV-Anytime as the EPG input source for a service:
  • right click on the service in the DVB services and select Edit Service
  • in Service properties make a note of what the Service id and Service name are
  • in tab EIT source select TV-Anytime Data Source
  • uncheck Use default
  • put as Remote source folder e.g. /opt/playout/ftp/update/tvanytime/serviceId where serviceId is the Service Id value from the Service properties page
  • if the Service name equals the serviceIdRef in the XML file, there's no need for a Channel alias, but if not, put the serviceIdRef value from the XML file as Channel alias
  • select the update rate, either updating periodically or daily

    • Related Articles

    • Introduction to EPG Management

      General Icareus Playout EPG Server is used to broadcast the TV program information and to generate the necessary service information. It provides many different ways to ingest the EPG/EIT data. Each EPG source can be managed based on the settings ...
    • Epgs.com

      Introduction More information can be found at http://www.epgs.com/ Supported Datasources Local drop folder Http(s) EPGS.com DTD EPGS DTD: http://epgs.com/feeds/xml/epg.dtd Example of EPGs.com format <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ...
    • Thomson Jade

      Introduction Jade EPG format specifies an XML file which contains the EPG events for multiple services. Format Example of Jade Format <PSI lang="chi">   <BOUQUET id="65520" version_number="31">     <NAME_BOUQUET encoding="05">RTHK</NAME_BOUQUET> ...
    • XMLTV

      Introduction More about XMLTV can be found from:http://en.wikipedia.org/wiki/XMLTV Supported Datasources Local Drop Folder Http XMLTV DTD XMLTV DTD: http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd Example of XMLTV <?xml version="1.0" ...
    • EPG Sources

      Introduction  Usually, in TV / OTT services, the EPG data is received from the 3rd party EPG sources, which are either  commercial EPG data providers  or then technical solutions like  Icareus EPG Playout server  extracting the EPG data from DVB ...