kreatv-option-assetmap

The purpose of this configuration file is to help converting SW3.8 assets to SW4.1 assetdb.db SW 3.8 doesn't have any database. Asset information like title, description and duration are kept in metadata. With this configuration file it's possible to populate properties in assetdb.db with content from matadata files. Given XML-file will be copied to /etc/assetmap_config.xml . If file is not found it will try to open a default file /etc/assetmap_default.xml which just keep basic settings. All metadata files like 'customer.name' (see below) will also be added as properties to assetdb.db independent of this XML-file.

The .xml file can look like the following:

  <AssetConfig>                            
    <DefaultTitle>Channel_</DefaultTitle>
    <PropertyMapping>                          
      <property>                               
        <name>AssetTitle</name>          
        <file>metadata/customer.name</file>
      </property>                                
      <property>                                 
        <name>info.description</name>      
        <file>metadata/customer.description</file>
      </property>                                       
    </PropertyMapping>                                  
  </AssetConfig> 

Explanation:

In the above example, the property 'AssetTitle' in assetdb.db is populated with content from file metadata/customer.name and 'info.description' with content from file metadata/customer.description. <DefaultTitle> is used if file described in 'AssetTitle' is missing.

Parameters

NameRepeatDescriptionExample
xmlfile=<file> Once The asset mapping XML file to use. kreatv-option-assetmap:xmlfile=/extra/media/medaimanager/assetmap_config.xml

Details

Version4.3.IAP30.3
Content version-
BranchSTABLE_iap_digitalis_3
Date20120112
Time035013
ArchitectureAll
Rootdisk dependencieskreatv-platform
Execution dependencieskreatv-platform
Finalize dependencies-
Installation scriptsbuildtime
Uninstallation scripts-
Sanity checktrue