I have been listening and found sometime to re-engineer the HDHomeRunEPG_to_XmlTv.py Python app now I have a little more knowledge of Python, to make it a bit more professional.
This version requires Python 3.6 or above, I will try and make it more friendly for older versions of Python as soon as I can.
Over and above the re-engineer, I have resolved the following issues:
#10 - Improved the XMLTV layout and sequencing of elements in accordance with the document DTD.
#11 - Attempted to obtain the correct localisation to use instead of using hardcoded elements.
#12 - The XMLTV output is properly format so applications like Plex should not have any issues.
NOTE 1: An important note if you are upgrading and are having difficulties, the original v1 python app can be found called HDHomeRunEPG_to_XmlTv_v1.py.
NOTE 2: I will endeavour to get the binaries built as soon as possible.