# Labels

A comma-separated list of labels (key/value pairs) to add to the output produced by Media Server. Separate each key and value with a colon (`:`). You can use this parameter to add custom metadata to the output. You can use system, session, and source macros in the label values.

To include a comma or colon in the key name or value, enclose the key name or value in quotation marks (`"`). You can also use a backslash (`\`) to escape a comma, colon, another backslash, or quotation marks (`"`).

Type: | String (comma-separated list)
Default: |
Required: | No
Configuration Section: | TaskName or Session
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: |

_FT_HTML5_bannerTitle.htm