Open topic with navigation

# Labels

A comma-separated list of labels (key/value pairs) to add to the output produced by Media Server. You can use this parameter to add custom metadata to the output. You can use system macros in the label values.

System Macros

Macro | Description
--- | ---
`%TIME_FORMAT%` | The time, according the clock on the Media Server host, at which the macro is expanded. (Replace `TIME_FORMAT` with one of the time formats. For example, use `%iso8601%` to obtain a timestamp in ISO 8601 format).
`%uuid%` | A unique ID.
`%hostname%` | The host name of the machine that Media Server is running on.
`%platform%` | The name of the operating system that Media Server is running on.

Note: The time macros described here represent the time (according to the machine hosting Media Server) when the output files are written to disk.

Type: | String (comma-separated list)
Default: |
Required: | No
Configuration Section: | TaskName or Output
Example: | `Labels=key1=value1,key2=value2` This example adds the following fields to each record in the pre-XML produced by Media Server:
    <output>
      <metadata>
        ...
        <engineDetails>
          ...
          <labels>
            <label name="key1" value="value1"/>
            <label name="key2" value="value2"/>
          </labels>
        </engineDetails>
      </metadata>
      ...
    </output>
Your XSL template must then transform this information into the required format.
See Also: |

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm