You are here

new tag in xmltv config

3 posts / 0 new
Last post
vladik007
Offline
Donator
Joined: 6 years
Last seen: 6 months
new tag in xmltv config

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:

Quote:

<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:

Quote:

<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.

mat8861
Offline
WG++ Team memberDonator
Joined: 8 years
Last seen: 10 hours

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.

vladik007
Offline
Donator
Joined: 6 years
Last seen: 6 months
Quote:

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.

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.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl