EPGImport mod from Dorik1972
Version 1.4
Differences from the original
1) The algorithm for "bypassing" xmltv and parsing events is maximally optimized and accelerated.
2) All file uploads have been changed to twisted.web.client.Agent (), instead of deprecated getPage and downloadPage
3) Checking ssl certificates is completely disabled. In the case of downloading xmltv and channels.xml - no threat : '(. Zero problems with downloading from any http or https resources
4) Added EPG import support for DreamOS
5) Added support for local files in ****. Sources.xml. Now everything works 100% correctly.
6) The code is written out universally and will work on PY2 and PY3 based images
7) Cleaned and "fixed" everything that "caught" during the code + added and more clearly made logging of actions
Version 1.4
Differences from the original
1) The algorithm for "bypassing" xmltv and parsing events is maximally optimized and accelerated.
2) All file uploads have been changed to twisted.web.client.Agent (), instead of deprecated getPage and downloadPage
3) Checking ssl certificates is completely disabled. In the case of downloading xmltv and channels.xml - no threat : '(. Zero problems with downloading from any http or https resources
4) Added EPG import support for DreamOS
5) Added support for local files in ****. Sources.xml. Now everything works 100% correctly.
6) The code is written out universally and will work on PY2 and PY3 based images
7) Cleaned and "fixed" everything that "caught" during the code + added and more clearly made logging of actions