From 0ab1f1fcd1d4abf9f80f5edd796cf1a7d83ac310 Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 11 Mar 2021 21:29:43 +0100 Subject: [PATCH] fixed title type tag --- adi_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adi_builder.py b/adi_builder.py index c6e7142..94f15d0 100644 --- a/adi_builder.py +++ b/adi_builder.py @@ -118,7 +118,7 @@ def addTitle(tree, title, metadata): ams_attributes = createAMSattributes('title', metadata) titleTree = ET.SubElement(tree, 'Metadata') ET.SubElement(titleTree, 'AMS', ams_attributes) - ET.SubElement(titleTree, 'App_Data', {'App': 'MOD', 'Type': 'title'}) + ET.SubElement(titleTree, 'App_Data', {'App': 'MOD', 'Name': 'Type', 'Value': 'title'}) for element in title: # check if there are multiple elements available