View Single Post
Old 2007-12-19, 13:15   #26 (permalink)
heerfordt
Portal Member
 
Join Date: Feb 2007
Posts: 80
Thanks: 0
Thanked 7 Times in 3 Posts


Default

Hi NetRom,

I have already added functionality, that gives you the ability to Replace/Merge EPG Channels. If you place a XSLT script called PostProcess.xslt in the EPG download folder the file will get processed on each download.

In Denmark we have some regional programs that gets transmitted on the same channel, so it needed to merge the different channels together. I have added a XSLT sample that merges TV2 Lorry into TV2.

http://www.heerfordt.com/files/PostProcess.xslt

I think it would fairly easy for you to do this merge, if you download the sample file and edit the following line:

<!-- Convert lorry ID's into TV2 -->
<xsl:when test="string()='041.heerfordt.com'">003.heerfordt. com</xsl:when>

Replace 041.heerfordt.com with 007.heerfordt.com
and 003.heerfordt.com with 006.heerfordt.com

Then all the NRK Super programs should be merge together with NRK3.. Try it.

/H
heerfordt is offline   Reply With Quote