I ran into an issue when using this add-on with a huge XML TV file: 207902 lines!
The regex at main.py@2927 didn't detect the encoding at the top of the file because the value was enclosed in single quotes instead of double quotes. Then it fell back to using chardet.detect() which basically never ended on my device (keep on displaying Copying xmltv file for several minutes on my Raspberry PI 3).