hello,
can you plase add a possibility for users to add <lcn> tag in the config ? HDHR, Plex, Emby use (if present) as a sorting title - in addition to display name.
for example user could edit their config:
<channel update="i" site="horizon.tv.EK" site_id="CZ/ces_546677287017" xmltv_id="Prima COOL HD" lcn="1">Prima COOL HD</channel>
<channel update="i" site="horizon.tv.EK" site_id="CZ/ces_546676775215" xmltv_id="Prima ZOOM HD" lcn="2">Prima ZOOM HD</channel>
<channel update="i" site="horizon.tv.EK" site_id="CZ/ces_711693863137" xmltv_id="Prima love HD" lcn="3">Prima love HD</channel>
Resulting XMLTV would look something like this:
<channel id="Prima COOL HD">
<display-name lang="en">Prima COOL HD</display-name>
<url>http://www.horizon.tv</url>
<lcn>1</lcn>
</channel>
<channel id="Prima ZOOM HD">
<display-name lang="en">Prima ZOOM HD</display-name>
<url>http://www.horizon.tv</url>
<lcn>2</lcn>
</channel>
<channel id="Prima love HD">
<display-name lang="en">Prima love HD</display-name>
<url>http://www.horizon.tv</url>
<lcn>3</lcn>
</channel>
LCN can be a number (useful for sorting) or a name - users preference.
Well xmltv is a "standard" we cannot modify as we want. Sometimes we add it to channel description, but we found it useless as most user get channel from different siteini to make up epg, in that case it will look messed up. Will mention to authors but i doubt they will do it.
actually, if you make it part of the config file (as opposed to part of the ini files), it will work across ALL ini files - as it will be part of config.
so if someone configures 15 channels in the config from 15 different ini files, it will still work.