Import Formats

84.4.5.94 VTVCAB

Import Scope
The VIZRTVME function allows importing from an XML file all contained data intended to enrich video files imported through Etere Active Sync. It's worth mentioning that fields imported into Etere by this function includes the following ones:
VTVCAB
ETERE

I. Broadcast information
Metadata fields - Channel
Description : Channel name: BD-Hd, VTVcab1,VTVcab17, VOD, etc.
Requirement : Mandatory
Metadata fields : FUsers.Cod_user
Metadata fields - Category/type
Description : Categories in each corresponding channel (Golf/football, Movies/seasons, etc.)
Requirement : Mandatory
Metadata fields : Filmati.NewType
Metadata fields - Title
Description : Program name
Requirement : Mandatory
Metadata fields : Filmati.Descrizio
Metadata fields - Content
Description : Content description
Requirement : Mandatory
Metadata fields : Filmati.Trama
Metadata fields - TC in
Description : Timecode in
Requirement : Mandatory
Metadata fields : Filmati.Pos_ini
Metadata fields - TC out
Description : Timecode out
Requirement : Mandatory
Metadata fields : Filmati.Pos_fin
Metadata fields - Duration
Description : Duration of the program
Requirement : Optional
Metadata fields : Filmati.Duration
Metadata fields - Censorship status
Description : Censorship status to authorize broadcast  (OK/NOT OK)
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Censorship staff
Description : Censorship staff name
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Censorship comment
Description : Comments made by censorship staff
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Censorship date
Description : When the censorship status is done
Requirement : Optional
Metadata fields : Flexy-metadata
II. Editing information
Metadata fields - Metadata staff
Description : Staff who creates metadata
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Metadata date
Description : When metadata was created.
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Upload staff
Description : User who upload media file and link to metadata
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Upload date
Description : When media file was uploaded and link to metadata
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Provider
Description : Content provider name
Requirement : Optional
Metadata fields : Flexy-metadata
III. Business information
Metadata fields - License start
Description : Date to start license
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - License end
Description : Date to end license
Requirement : Optional
Metadata fields : Flexy-metadata
Metadata fields - Run number
Description : Number of times authorized to run
Requirement : Optional
Metadata fields : Flexy-metadata
Import with ActiveSync
In case this import is enabled in Etere ActiveSync, every time a new video file is detected ActiveSync will also search for a related XML descriptive file named according to the following convention:
[VideoFileName].xml
(e.g. if the video file is named truyenhinhquando.xml then the descriptive file should be truyenhinhquando.xml)
NB: If no XML descriptive file is found the video file is not imported.
In order to be imported, XML descriptive files must be valid, that it's, they must meet the following requirements:
✓The file structure is correct
✓The file contains all mandatory metadata (i.e. channel, category, title, content, tc in and tc out)
If a descriptive file is Invalid it's renamed appending the .XMB suffix (e.g. truyenhinhquando.xml.xmb) and the video file is also renamed appending the .BAD suffix (e.g. truyenhinhquando.mxf.bad)
If the file is valid, metadata are imported into the matched asset
Once imported, the descriptive file is automatically renamed appending the ".done" suffix (e.g. truyenhinhquando.xml.done) and the video file is also renamed based in the ID of the asset created in Etere (e.g. 36457.mxf).
Sample file to import
In order to be imported into Etere, the file must meet the following structure:
<?xml version="1.0" encoding="utf-8"?>
<VTVcab Type="Asset">
   <Editing>
      <MetadataStaff>Vu Van Son</MetadataStaff>
      <MetadataDate>28-02-2013</MetadataDate>
      <UploadStaff>Do Thi Lan</UploadStaff>
      <UploadDate>29-02-2013</UploadDate>
      <Provider>VTV Pay Content Department</Provider>
   </Editing>
   <Broadcast>
      <Channel> BD-HD</Channel>
      <Category>Magazine</Category>
      <Title>Dancing with Celebrites</Title>
      <Content>A show to teach people to dance with a star...</Content>
      <TCin>00:00:00.00</TCin>
      <TCout>01:32:23.14</TCout>
      <Duration>01:32:23.14</Duration>
 <CensorshipStatus>OK</CensorshipStatus>
      <CensorshipStaff>Vu Van Son</CensorshipStaff>
      <CensorshipComment>Ok to broadcast</CensorshipComment>
      <CensorshipDate>29-02-2013</CensorshipDate>
   </Broadcast>
   <Business>
      <LicenseStart>29-02-2013</LicenseStart><!--dd-MM-yyyy-->
      <LicenseEnd>29-02-2014</LicenseEnd>
      <RunNumber>10</RunNumber>
   </Business>
</VTVcab>