You are here

Add channel number to guide.xml file

6 posts / 0 new
Last post
lkospa7
Offline
Joined: 8 years
Last seen: 3 years
Add channel number to guide.xml file

Hello, I use India/Tata sky.ini pack with MythTV PVR. At the moment the generated xmltv file does not contain the channel number.

Is it possible to add channel number 13 like so
<channel id="xmltvid">
<display-name>channel name</display-name>
<display-name>Callsign</display-name>
<display-name>13</display-name>
<icon src="http://someplace/13.png">
</icon>
</channel>

The above snippet gets all the required details including the channel number into MythTV.

Kick4U
Offline
Donator
Joined: 4 years
Last seen: 2 years

This is the standard XML format.
https://www.xmltvlistings.com/help/api/xmltv

I'm trying to either pass the 'site-id' as a {channel number} to the xml file or similar.

Do you have any other ideas? Having the XMLTV with channel numbers would make this tool ultimate for my needs.

 

Thank you for a wonderful software!

 

EDIT: Seems TVHeadend has a way to use the channel number immediately before the station name.  I need to edit all the entries, but it is working!
i.e.     <channel update="i" site="uk-sky.com" site_id="1354" xmltv_id="At The Races">196 At The Races</channel>

 

Ge0rge
Offline
Donator
Joined: 1 year
Last seen: 3 months

Unfortunately this trick only changes the name of the channel itself. The channel number value in TVHeadend EPG stays set to 0, is there any other working solution for this?

mat8861
Offline
WG++ Team memberDonator
Joined: 6 years
Last seen: 17 hours
Ge0rge
Offline
Donator
Joined: 1 year
Last seen: 3 months

I know how to set it by hand, I mean this part:

https://docs.tvheadend.org/webui/config_epggrab/

and exactly this option

"Update channel number : Automatically update channel numbers using information provided by the enabled EPG providers."

mat8861
Offline
WG++ Team memberDonator
Joined: 6 years
Last seen: 17 hours

it looks like that refers to dvb channels, for whichchannel number are provided directly. If you go next to the link i sent there is more on assignment. Anyway channel number is not in the "standards" of XMLTV, so an external modification is needed.

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