diff --git a/adi_builder.py b/adi_builder.py index 94f15d0..fe3fe97 100644 --- a/adi_builder.py +++ b/adi_builder.py @@ -46,6 +46,8 @@ def insertMetadata(tree, config): logger.error('failed to add Metadata AMS attribute '+str(e)) sys.exit(0) ET.SubElement(tree, 'AMS', attributes) + ET.SubElement(tree, 'App_Data', {'App': 'MOD', 'Name': "Metadata_Spec_Version", 'Value': "CableLabsVOD1.1"}) + ET.SubElement(tree, 'App_Data', {'App': 'MOD', 'Name': "Provider_Content_Tier", 'Value': "VU"}) def createAMSattributes(asset_type, metadata): @@ -184,4 +186,4 @@ if __name__ == "__main__" : try: tree.write(f'{args.output}/adi.xml', encoding='utf-8', xml_declaration=True, pretty_print=True, doctype='') except Exception as e: - print(str(e)) + print(str(e)) \ No newline at end of file