Hello. So, I'm very impressed with the new tool to merge xmltv files of grabbed epg data @ http://www.webgrabplus.com/sites/default/files/download/ini/info/zip/Misc_merge-xmltv.zip. However, I ran into a snag this morning that I'm hoping someone could help resolve. I have two xmltv files merging quite nicely except for a few lines in my merged WebGrab++.config.xml as follows:
<channel update="i" site="merge-xmltv" site_id="A&E Network HD East" xmltv_id="A&E (US)">A&E (US)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (East)" xmltv_id="Sportsnet East (CA)">Sportsnet East (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (Pacific)" xmltv_id="Sportsnet Pacific (CA)">Sportsnet Pacific (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (Ontario)" xmltv_id="Sportsnet Ontario (CA)">Sportsnet Ontario (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (West)" xmltv_id="Sportsnet West (CA)">Sportsnet West (CA)</channel>
WG++ was logging for example this error for Sportsnet East (CA):
[ Info ] ( 38/60 ) MERGE-XMLTV -- chan. (xmltv_id=Sportsnet East (CA)) -- mode Incremental
[Error ] no shows in indexpage!
After considerable trial and error I found that stripping special characters from the xmltv_id strings and the source xmltv files solved the problem as follows:
<channel update="i" site="merge-xmltv" site_id="A&E Network HD East" xmltv_id="AE US)">A&E (US)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (East)" xmltv_id="Sportsnet East CA">Sportsnet East (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (Pacific)" xmltv_id="Sportsnet Pacific CA">Sportsnet Pacific (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (Ontario)" xmltv_id="Sportsnet Ontario CA)">Sportsnet Ontario (CA)</channel>
<channel update="i" site="merge-xmltv" site_id="Sportsnet (West)" xmltv_id="Sportsnet West CA">Sportsnet West (CA)</channel>
So, from what I can tell, it looks like the merge-xmltv.ini file has problems handling special characters ( ) and &. I would prefer to not edit these values and strip characters. Is there any way to have the merge accept these special characters?
Any help is appreciated.
-Al
Thanks so much for the detailed answer. I started working on your solution until I found an elegant solution in this post - http://www.webgrabplus.com/content/join-two-files-guidexml. A slight modification to the ini file and everything is merging fine now.
-Al
I'm stuck with this same error and it seems that the answer has been deleted. Could anybody give some light on this? I'm hitting a wall!!!
I have channels with the special characters "(" and ")", and because of this webgrab says: no shows in indexpage!
Thanks in advance
can you post the files,so can see what is wrong