Epg Alias

Posted by: andr3wz

Epg Alias - 10/28/21 12:31 AM

Hi,I have some channels of dvb-t ita that have an old epg, linked with the old frequency. I need to equate for example chanell-1hd with channel-1sd epg.
My image is OpenPLi 7.2star (2020-12-03-develop), and EpgImport on board.
Posted by: Admin

Re: Epg Alias - 10/28/21 11:32 AM

Check this,

Admin


- Create a template custom.channels.xml
This assumes you have already run the streamrefupdate.py file as per above guide, You will need to run another python script which will create a new file called custom.channels.xml in your /etc/epgimport/ folder, the guide on running the script is @ How to automatically create your custom.channels.xml from IPTV bouquet

- map channel ID from epg data source to custom.channels.xml
Download and open the custom.channels.xml file as created earlier and replace the placeholder text with the channel ID from the epg data source on the line matching the channel you want the epg data assigned to.

- Create custom.sources.xml
This file ties all the others together and is the main reference file for the epgimport plugin, all files mentioned above need to be correctly referenced in this file otherwise the data will not be imported and the epg assigned to the IPTV stream. Note that file names are very case sensitive.
The below is the basic complete custom.sources.xml file copy it and save into a file called custom.sources.xml

<sources>
<source type="gen_xmltv" channels="/etc/epgimport/custom.channels.xml">
<description>US TV Guide EPG</description>
<url>/etc/epgimport/NAME OF EPG DATA FILE</url>
</source>
</sources>

For more infos : https://www.techkings.org/threads/how-to-assign-epg-to-iptv-streams.120096/
Posted by: andr3wz

Re: Epg Alias - 11/05/21 02:33 AM

Hi Admin, what I needed to do was to create an alias of a terrestrial channel, which I did in the past by creating a specific conf file under crossepg dir. Actually in this case I was able to synchronize the epg of the offending hd channel with the epg of the same channel but on sat, using the echannalizer tool.
Thanks
Posted by: Toysoft

Re: Epg Alias - 11/05/21 11:54 AM

The custom xml could be the solution ?

TS

<sources>
<source type="gen_xmltv" channels="/etc/epgimport/custom.channels.xml">
<description>US TV Guide EPG</description>
<url>/etc/epgimport/NAME OF EPG DATA FILE</url>
</source>
</sources>