<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_custom_metadata(self, key, value, meta_type=None):
 """ Add custom metadata to the Video. meta_type is required for XML API. """

        self.metadata.append({'key': key, 'value': value, 'type': meta_type})