UPDATE
1.0.581) Minor code changes when parsing and "traversing" XMLTV records to save RAM.
2) Fixed import of events from XMLTV, in Py2-based images, the channel_id of which is not set in Latin1 encoding.
3) Fixed sorting of channel and group names in natural alphabetical order in Py2 based images
4) Changes have been added to the code regarding the use of the specified XMLTV in the EPG url field of the provider's settings. This field should be left empty if the playlist you are using contains tvg-url or epg-urg tags with a specified link for XMLTV. If you specify a link to XMLTV in this field, the plugin will automatically match and select events from the XMLTV you specified. The plugin will find the most appropriate "display-name" tag value names with the channel name from the playlist being used. If the XMLTV specified by you contains links to channel picon in the "icon" attribute values, then you can specify their use in the settings by specifying "Yes" in the "Get by links from the specified XMLTV source" submenu. With this submenu, you can choose between using picon from links in a playlist or from links in XMLTV. The best result of auto-selection of EPG events and picon will be achieved when using XMLTV recommended by your IPTV provider. If you do not have the XMLTV recommended by your provider, then I strongly recommend using the multivariant XMLTV of your region. Multivariant XMLTV contains multiple variants of the same channel name in "display-name" tags. The more different channel name options will be contained in XMLTV, the higher the probability of finding matches with channel names in the playlist used.
Multivariant XMLTV example with picon links:
Вам не разрешен просмотр кода. Войдите или Зарегистрируйтесь для просмотра.
This functionality is mainly designed to use playlists found in the public domain in which there is no information to link to the EPG source, except for channel names.
The most popular multi-variant XMLTV for Slavic countries in order of the largest number of channels and their naming options:
Вам не разрешен просмотр кода. Войдите или Зарегистрируйтесь для просмотра.
But in principle, you can use the XMLTV of any IPTV provider containing the channels you need and links to picons