I was having issues using the output of this script with TiviMate, which an IPTV app for Android TV. As far as I can tell, TiviMate expects all the <channel> tags to be before all the <programme> tags. I can't know for sure (since it's not open-source), but my suspicion is that TiviMate uses a streaming XML parser and stops parsing once it hits a <programme> tag.
I've modified the script to output the <channel>s before the <programme>s. This seems to resolve the issue in TiviMate, as now I see the EPG for all channels.
I was having issues using the output of this script with TiviMate, which an IPTV app for Android TV. As far as I can tell, TiviMate expects all the
<channel>
tags to be before all the<programme>
tags. I can't know for sure (since it's not open-source), but my suspicion is that TiviMate uses a streaming XML parser and stops parsing once it hits a<programme>
tag.I've modified the script to output the
<channel>
s before the<programme>s
. This seems to resolve the issue in TiviMate, as now I see the EPG for all channels.Closes #28