-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The xml builder modules generate a version string for the calling program.
musicscan/src/musicscan/xml/builder.py
Lines 50 to 60 in 40be991
def build_head(self) -> str: | |
''' | |
Build the start of the album XML. | |
''' | |
timestamp = datetime.datetime.now() | |
output = XML_DECLARATION | |
output += "<medialist xmlns='http://vectortron.com/xml/media/media'" | |
output += " xmlns:xi='http://www.w3.org/2001/XInclude'>\n" | |
output += f" <!-- created by id3scan v{VERS_STR} ({timestamp}) -->\n" | |
output += " <media>\n" | |
return output |
But that data is hard coded, when theoretically there could be other programs using this framework to generate a XML structure.
A mechanism to pass the program name and version to the builder code should be figured out.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request