**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: merge-xmltv
* @MinSWversion: 1.1.1/56.02
* @Revision 4 - [19/11/2019] WGT
* @Revision 3 - [21/01/2016] Francis De Paemeleere
* - add show icon
* @Revision 2 - [21/10/2015] Francis De Paemeleere
* - speedup for large files
* @Revision 1 - [17/10/2015] Jan van Straaten
* - allows multiple xmltv input file to merge
* @Revision 0 - [09/05/2014] Jan van Straaten
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
*** edit - timezone=UTC+00:00 - to the timezone for which the xmltv data is created
*** edit (optional) - cultureinfo=en-GB - to the cultureinfo of the country for which the xmltv data is created
site {url=merge-xmltv|timezone=UTC+00:00|maxdays=31.1|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|keepindexpage}
*
*** eventually enable and adapt ratingsystem and episodesystem to your requiements
*site {ratingsystem=GB|episodesystem=onscreen}
*
*** edit - path_of_the_xmltv_file2merge.xml - to your requirements
*** more than one file2merge or just one:
*subpage.format {list|path_of_the_1st_xmltv_file2merge.xml|path_of_the_2nd_xmltv_file2merge.xml|etc}
*** example
subpage.format {list|https://raw.githubusercontent.com/matthuisman/i.mjh.nz/master/PlutoTV/all.xml}
url_index{url|subpage|}
scope.range {(datelogo)|end}
index_variable_element.modify {addstart|'config_site_id'}
global_temp_1.scrub {regex||]*id="[^\"]*"[^>]*>.*?||}
end_scope
index_urlchannellogo.modify {substring(type=regex)|'global_temp_1' ".*"}
index_showsplit.scrub {regex||]*channel=\"'index_variable_element'\"[^>]*>.*?||}
index_start.scrub {single|start="||"|>}
index_stop.scrub {single|stop="||"|>}
index_title.scrub {single|||}
index_subtitle.scrub {single|||}
index_description.scrub {single|||}
index_actor.scrub {multi||||}
index_director.scrub {multi||||}
index_writer.scrub {multi||||}
index_producer.scrub {multi||||}
index_presenter.scrub {multi||||}
index_productiondate.scrub {single||||}
index_category.scrub {multi|||}
index_starrating.scrub {single|||}
index_episode.scrub {single||||}
index_showicon.scrub {regex||]*id="[^\"]*"[^>]*>.*?||}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_id.modify {substring(type=regex)|]*id="([^\"]*)"[^>]*>}
*index_site_channel.modify {substring(type=regex)|]*>(.*?)}
*index_site_id.modify {cleanup(removeduplicates=equal link="index_site_channel")}
*end_scope
** @auto_xml_channel_end