How to merge two EPG.xml files?

by Super_Govedo

I have EPG_1.xml and EPG_2.xml, as of now I only can manually copy channels from 2nd to 1st as well as programmes from 2nd to 1st.

Is there a way to automate this? Like a Notepad++ script or maybe there is already an software that can do this? Merge EPG.xml files and export single merged one.

mr_larry_hyman

are you using Kodi? There is an addon called IPTV Merge

bshensky

At the end of the day, merging 2 EPG files is literally just merging 2 XML files, and this thread talks about it:

https://stackoverflow.com/questions/15194718/how-to-merge-two-xml-files-with-xslt

TL;DR: XSLT is the key here - the language and the command line tool.

d1abo

xTeve can do it (playlists and EPG). Dunno about m3u4u.com 😉

BipolarWalrus

XML isn’t too hard to programmatically manipulate if you know a little python.