﻿<?xml version="1.0"?>
<!-- Configuration file for WebGrab+Plus, the incremental Electronic-Program-Guide web grabber
test version for Imdb post process
by Jan van Straaten, December 2011
Version V1.1.0 -->

<settings>
  <!-- filename      
The path (required) + filename where the epgguide xml file is /will be located. It must include drive and folder. Like C:\ProgramData\ServerCare\WebGrab\guide.xml
If the file already exist (from last run or from another xmltv source) it will read it and use what fits the requested output. In that case the file will be updated. If no such file exist it will be created.
Change the following to your own needs  :
-->
  <filename>C:\ProgramData\ServerCare\WebGrab\tvguide.xml</filename>
  
  <!-- modes:   
d or debug    saves the output xmltv file in a file with -debug addition in the file name . The original xmltv file will be kept.  
m or measure  measures the time for each updated show or new show added 
n = nomark    disables the update-type marking (n) (c) (g) (r) at the end of the description
v or verify   verifies the result following a channel update
w or wget     use wget as grab engine (might improve site recognition in rare cases)
Note that modes can be added in one line, separated by comma's or spaces, or both. 
-->
  <mode>m</mode>
  
  <!-- postprocess:
  (Januari 2012 , first test version; only mdb postprocess implemented with only imdb.com as source site)
grab yes, y, true or on : grabs epg first     ; no, n, false or off : skip epg grabbing 
run  yes, y, true or on : run the postprocess ; no, n, false or off : do not run post process
the process to run : processname
processname = mdb runs a build in movie database grabber  
examples:
  <postprocess run="on" grab="no">mdb,imdb.es</postprocess>
  <postprocess run="off">timecorrect</postprocess>  
-->
<postprocess run="n" grab="y">mdb</postprocess>
  
  <!-- proxy:
This setting is only required if your computer is connected to internet behind a proxy
specify proxy address as ip:port like <proxy>192.168.2.4:8080</proxy>
or as <proxy>automatic</proxy> which attempts to read the proxy address from your connection settings. If your proxy requires a username and password, add them like 
<proxy user="username" password="password">192.168.2.4:8080</proxy>  
  <proxy>192.168.2.2:8080</proxy>
-->
<proxy>automatic</proxy>

  <!-- user agent:
The user agent string that is sent to the tvguide website. Some sites require this. Valid values are either 
, in which case the program generates a random string, or any other string like <user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent>  <user-agent>random</user-agent>
--><user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent>

  <!-- logging: 
simply put 'on' in there to start logging, anything else will turn it off 
-->
  <logging>on</logging>

  <!--retry
The most simple form of retry defines the amount of times the grabber engine should attempt to capture a web page before giving up and continuing with the next page, like <retry>4</retry>
It is also the place to specify delays between retries and the grabbing of html pages with the following attributes: timeout; the delay between retries (default is 10 sec), channel-delay; the delay between subsequent channels (default is 0), index-delay; the delay between the grabbing of index pages (default is 0), show-delay; the delay between the grabbing of detail show pages (default is 0). In the most complete version it will look like this:
<retry time-out="5" channel-delay="5" index-delay="1" show-delay="1">4</retry> 
-->
  <retry>4</retry>

  <!--skip
It takes two values H,m  separated by a comma: 
The first H : if a show takes more than H hours, it's either tellsell or other commercial fluff, or simply a mistake or error, we want to skip such shows.
The second m : if a show is less or equal than m minutes it is probably an announcement , in any case not a real show. 
When entered as <skip></skip> the defaults are 12 hours, 1 minute, same as <skip>12,1</skip>. To disable this function enter <skip>noskip</skip> or just leave out this entry completely
-->
  <skip>noskip</skip>

  <!--timespan
The timespan for which shows will be grabbed.
It takes one or two values separated by a comma or a space. The first is the number of days (including today) to download, note that 0 is today. The second (optional) is a time specified between 0:00 and 24:00 which will reduce the download to only the one show (per day) which is scheduled around the specified time. Any value between start time (including) and stop time will do
This -one-show-only mode is helpfull if a SiteIni file needs to be debugged
-->
  <timespan>6</timespan>

  <!-- update mode
i or incremental     only updates of changes , gabs, repairs and new shows
l or light           forces update of today and new shows, rest as incremental
s or smart           forces update of today and tomorrow and new shows, rest as light
f or full or force   forces full update 
If one of these values is entered here it will apply to all channels selected for update 
(see channel).  This value overrules the value of 'update' for in the individual channels 
If no value is entered here the individual 'update' values from the channellist are taken 
-->
  <update></update>

  <!-- The channel-list :
Each channel to be grabbed has a separate entry in the list, the most common form is: 
<channel update=.. site=.. site_id=.. xmltv_id=..  >display-name</channel> 
Besides this form, there is a possibility to specify special channels like 'combi-channels' and 'timeoffset-channels', see further down for more information-->
  <!-- Channel list files : 
The easiest way to compose this channel-list is to copy the required channels from the channel-list files which can be found in the SiteIni.Pack for nearly every supported tvguide site. -->
  <!-- update :
The mode values here can be set for each channel differently if not overruled by the general update setting (see above). Allowed values are as the same as the general update setting. Any other value will be ignored.  If any of the allowed values of 'update' is entered, this channel will be updated , no value no update ! In that case the epg data of that channel will remain as it is.  -->
  <!-- site:
The website to be used to get the EPG from. The value entered here is the name of the .ini file that supplies the specific parameters for the site without .ini extension.
e.g tvgids.nl.ini becomes site="tvgids.nl" and gids.publiekeomroep.nl.ini becomes site="gids.publiekeomroep.nl".-->
  <!-- site_id: 
This is the number or text used by the site as reference to the correct html page for this channel. It is used by the program to compose the url for the shows for a channel. For nearly all sites supported by the program a channel-list file is provided in the siteini-pack. It list most of the available channels including this site_id -->
  <!-- xmltv_id :
The xmltv_id can be any string that suits your needs, you will find it back as the "channel" in your xml file as in : 
<programme start="20100218072500 +0200" stop="20100218075500 +0200" channel="RTL7-id"> -->
  <!-- display-name: This will be used in the xmltv file to give the channel's displayname. That is the name the epgprogram  will use to display the channel. Give it any value you like. It is no problem if site_id , xmltv_id and display-name are equal -->
  <!-- Important ! 
Be aware that all channels entered here will be included in the xmltv channel table even if no update is requested. This allows the update of individual channels without affecting the data of the others in the list. A channel not in this list will be removed from your xmltv listing together with all the show data of it if found there by WebGrab+Plus. (If you use WebGrab+Plus with a xmltv input file from another source, it will remove all data from channels not in this list and create an entry for new channels)
WebGrab+Plus uses the xmltv_id to identify a channel in an existing xmltv file.
-->  
  <!--South Africa (RSA)-->
    <channel update="i" site="dstv.com" site_id="89" xmltv_id="M-Net">M-Net</channel>
    <channel update="i" site="dstv.com" site_id="93" xmltv_id="M-Net Movies Premiere">M-Net Movies Premiere</channel>
    <channel update="i" site="dstv.com" site_id="389" xmltv_id="M-Net Movies Comedy">M-Net Movies Comedy</channel>
    <channel update="i" site="dstv.com" site_id="390" xmltv_id="M-Net Movies Family">M-Net Movies Family</channel>
    <channel update="i" site="dstv.com" site_id="407" xmltv_id="M-Net Movies Action+">M-Net Movies Action+</channel>
    <channel update="i" site="dstv.com" site_id="95" xmltv_id="M-Net Movies Drama &amp; Romance">M-Net Movies Drama &amp;Romance</channel>
    <channel update="i" site="dstv.com" site_id="392" xmltv_id="M-Net Movies Showcase">M-Net Movies Showcase</channel>
    <channel update="i" site="dstv.com" site_id="98" xmltv_id="M-Net Movies Action">M-Net Movies Action</channel>
    <channel update="i" site="dstv.com" site_id="97" xmltv_id="M-Net Movies Stars">M-Net Movies Stars</channel>
    <channel update="i" site="dstv.com" site_id="359" xmltv_id="Studio Universal">Studio Universal</channel>
    <channel update="i" site="dstv.com" site_id="102" xmltv_id="M-Net Series">M-Net Series</channel>
    <channel update="i" site="dstv.com" site_id="110" xmltv_id="Vuzu">Vuzu</channel>
    <channel update="i" site="dstv.com" site_id="99" xmltv_id="Universal Channel">Universal Channel</channel>
    <channel update="i" site="dstv.com" site_id="109" xmltv_id="BBC Entertainment">BBC Entertainment</channel>
    <channel update="i" site="dstv.com" site_id="161" xmltv_id="Discovery Channel">Discovery Channel</channel>
    <channel update="i" site="dstv.com" site_id="363" xmltv_id="Comedy Central">Comedy Central</channel>
    <channel update="i" site="dstv.com" site_id="111" xmltv_id="E! Entertainment Television">E! Entertainment Television</channel>
    <channel update="i" site="dstv.com" site_id="106" xmltv_id="SONY">SONY</channel>
    <channel update="i" site="dstv.com" site_id="113" xmltv_id="SONY MAX">SONY MAX</channel>
    <channel update="i" site="dstv.com" site_id="176" xmltv_id="MTV">MTV</channel>
    <channel update="i" site="dstv.com" site_id="112" xmltv_id="Zone Reality">Zone Reality</channel>
    <channel update="i" site="dstv.com" site_id="100" xmltv_id="Turner Classic Movies">Turner Classic Movies</channel>
    <channel update="i" site="dstv.com" site_id="104" xmltv_id="kykNET">kykNET</channel>
    <channel update="i" site="dstv.com" site_id="408" xmltv_id="AfricaMagic Entertainment">AfricaMagic Entertainment</channel>
    <channel update="i" site="dstv.com" site_id="108" xmltv_id="AfricaMagic Movies">AfricaMagic Movies</channel>
    <channel update="i" site="dstv.com" site_id="375" xmltv_id="AfricaMagic Movies 1">AfricaMagic Movies 1</channel>
    <channel update="i" site="dstv.com" site_id="107" xmltv_id="AfricaMagic">AfricaMagic</channel>
    <channel update="i" site="dstv.com" site_id="327" xmltv_id="Mzansi Magic">Mzansi Magic</channel>
    <channel update="i" site="dstv.com" site_id="105" xmltv_id="Magic World">Magic World</channel>
    <channel update="i" site="dstv.com" site_id="164" xmltv_id="Crime &amp; Investigation Network">Crime &amp; Investigation Network</channel>
    <channel update="i" site="dstv.com" site_id="361" xmltv_id="Discovery ID">Discovery ID</channel>
    <channel update="i" site="dstv.com" site_id="360" xmltv_id="Discovery TLC">Discovery TLC</channel>
    <channel update="i" site="dstv.com" site_id="140" xmltv_id="Style">Style</channel>
    <channel update="i" site="dstv.com" site_id="137" xmltv_id="BBC Lifestyle">BBC Lifestyle</channel>
    <channel update="i" site="dstv.com" site_id="339" xmltv_id="Food Network">Food Network</channel>
    <channel update="i" site="dstv.com" site_id="139" xmltv_id="The Home Channel">The Home Channel</channel>
    <channel update="i" site="dstv.com" site_id="141" xmltv_id="Fashion TV">Fashion TV</channel>
    <channel update="i" site="dstv.com" site_id="138" xmltv_id="Travel Channel">Travel Channel</channel>
    <channel update="i" site="dstv.com" site_id="292" xmltv_id="Discovery HD">Discovery HD</channel>
    <channel update="i" site="dstv.com" site_id="165" xmltv_id="National Geographic">National Geographic</channel>
    <channel update="i" site="dstv.com" site_id="166" xmltv_id="Nat Geo Wild">Nat Geo Wild</channel>
    <channel update="i" site="dstv.com" site_id="167" xmltv_id="Animal Planet">Animal Planet</channel>
    <channel update="i" site="dstv.com" site_id="162" xmltv_id="BBC Knowledge">BBC Knowledge</channel>
    <channel update="i" site="dstv.com" site_id="163" xmltv_id="HISTORY">HISTORY</channel>
    <channel update="i" site="dstv.com" site_id="296" xmltv_id="Discovery World">Discovery World</channel>
    <channel update="i" site="dstv.com" site_id="373" xmltv_id="TRACE Sports">TRACE Sports</channel>
    <channel update="i" site="dstv.com" site_id="283" xmltv_id="Ignition">Ignition</channel>
    <channel update="i" site="dstv.com" site_id="115" xmltv_id="SABC 1">SABC 1</channel>
    <channel update="i" site="dstv.com" site_id="116" xmltv_id="SABC 2">SABC 2</channel>
    <channel update="i" site="dstv.com" site_id="118" xmltv_id="SABC 3">SABC 3</channel>
    <channel update="i" site="dstv.com" site_id="120" xmltv_id="e.tv">e.tv</channel>
    <channel update="i" site="dstv.com" site_id="142" xmltv_id="SuperSport Blitz">SuperSport Blitz</channel>
    <channel update="i" site="dstv.com" site_id="143" xmltv_id="SuperSport 1">SuperSport 1</channel>
    <channel update="i" site="dstv.com" site_id="144" xmltv_id="SuperSport 2">SuperSport 2</channel>
    <channel update="i" site="dstv.com" site_id="145" xmltv_id="SuperSport 3">SuperSport 3</channel>
    <channel update="i" site="dstv.com" site_id="146" xmltv_id="SuperSport 4">SuperSport 4</channel>
    <channel update="i" site="dstv.com" site_id="147" xmltv_id="SuperSport 5">SuperSport 5</channel>
    <channel update="i" site="dstv.com" site_id="148" xmltv_id="SuperSport 6">SuperSport 6</channel>
    <channel update="i" site="dstv.com" site_id="149" xmltv_id="SuperSport 7">SuperSport 7</channel>
    <channel update="i" site="dstv.com" site_id="289" xmltv_id="SuperSport HD 1">SuperSport HD 1</channel>
    <channel update="i" site="dstv.com" site_id="325" xmltv_id="SuperSport HD 2">SuperSport HD 2</channel>
    <channel update="i" site="dstv.com" site_id="344" xmltv_id="SuperSport HD 3">SuperSport HD 3</channel>
    <channel update="i" site="dstv.com" site_id="386" xmltv_id="SuperSport HD 4">SuperSport HD 4</channel>
    <channel update="i" site="dstv.com" site_id="150" xmltv_id="SuperSport MaXimo 1">SuperSport MaXimo 1</channel>
    <channel update="i" site="dstv.com" site_id="157" xmltv_id="ESPN">ESPN</channel>
    <channel update="i" site="dstv.com" site_id="158" xmltv_id="ESPN Classic">ESPN Classic</channel>
    <channel update="i" site="dstv.com" site_id="159" xmltv_id="TellyTrack">TellyTrack</channel>
    <channel update="i" site="dstv.com" site_id="135" xmltv_id="Soweto TV">Soweto TV</channel>
    <channel update="i" site="dstv.com" site_id="169" xmltv_id="Cartoon Network">Cartoon Network</channel>
    <channel update="i" site="dstv.com" site_id="170" xmltv_id="Boomerang">Boomerang</channel>
    <channel update="i" site="dstv.com" site_id="171" xmltv_id="Disney Channel">Disney Channel</channel>
    <channel update="i" site="dstv.com" site_id="349" xmltv_id="Disney XD">Disney XD</channel>
    <channel update="i" site="dstv.com" site_id="172" xmltv_id="Nickelodeon">Nickelodeon</channel>
    <channel update="i" site="dstv.com" site_id="173" xmltv_id="Cbeebies">Cbeebies</channel>
    <channel update="i" site="dstv.com" site_id="270" xmltv_id="KooWee">KooWee</channel>
    <channel update="i" site="dstv.com" site_id="282" xmltv_id="KidsCo">KidsCo</channel>
    <channel update="i" site="dstv.com" site_id="350" xmltv_id="Disney Junior">Disney Junior</channel>
    <channel update="i" site="dstv.com" site_id="174" xmltv_id="Mindset Learn">Mindset Learn</channel>
    <channel update="i" site="dstv.com" site_id="175" xmltv_id="Channel O">Channel O</channel>
    <channel update="i" site="dstv.com" site_id="177" xmltv_id="MTV Base">MTV Base</channel>
    <channel update="i" site="dstv.com" site_id="178" xmltv_id="VH-1">VH-1</channel>
    <channel update="i" site="dstv.com" site_id="179" xmltv_id="MK">MK</channel>
    <channel update="i" site="dstv.com" site_id="181" xmltv_id="TRACE Urban">TRACE Urban</channel>
    <channel update="i" site="dstv.com" site_id="306" xmltv_id="Afro Music Pop">Afro Music Pop</channel>
    <channel update="i" site="dstv.com" site_id="182" xmltv_id="One Gospel">One Gospel</channel>
    <channel update="i" site="dstv.com" site_id="183" xmltv_id="TBN">TBN</channel>
    <channel update="i" site="dstv.com" site_id="184" xmltv_id="Rhema TV">Rhema TV</channel>
    <channel update="i" site="dstv.com" site_id="384" xmltv_id="iTV">iTV</channel>
    <channel update="i" site="dstv.com" site_id="187" xmltv_id="BBC World News">BBC World News</channel>
    <channel update="i" site="dstv.com" site_id="188" xmltv_id="CNN International">CNN International</channel>
    <channel update="i" site="dstv.com" site_id="189" xmltv_id="Sky News">Sky News</channel>
    <channel update="i" site="dstv.com" site_id="190" xmltv_id="eNews Channel Africa">eNews Channel Africa</channel>
    <channel update="i" site="dstv.com" site_id="192" xmltv_id="Russia Today">Russia Today</channel>
    <channel update="i" site="dstv.com" site_id="193" xmltv_id="Al Jazeera">Al Jazeera</channel>
    <channel update="i" site="dstv.com" site_id="215" xmltv_id="NDTV247">NDTV247</channel>
    <channel update="i" site="dstv.com" site_id="194" xmltv_id="Parliamentary Service">Parliamentary Service</channel>
    <channel update="i" site="dstv.com" site_id="210" xmltv_id="CCTV News">CCTV News</channel>
    <channel update="i" site="dstv.com" site_id="195" xmltv_id="CNBC Africa">CNBC Africa</channel>
    <channel update="i" site="dstv.com" site_id="196" xmltv_id="Bloomberg">Bloomberg</channel>
    <channel update="i" site="dstv.com" site_id="197" xmltv_id="Summit TV">Summit TV</channel>
    <channel update="i" site="dstv.com" site_id="191" xmltv_id="Euro News">Euro News</channel>
    <channel update="i" site="dstv.com" site_id="199" xmltv_id="RAI Italia">RAI Italia</channel>
    <channel update="i" site="dstv.com" site_id="200" xmltv_id="BVN">BVN</channel>
    <channel update="i" site="dstv.com" site_id="201" xmltv_id="ERT">ERT</channel>
    <channel update="i" site="dstv.com" site_id="239" xmltv_id="TV5 Monde Afrique">TV5 Monde Afrique</channel>
    <channel update="i" site="dstv.com" site_id="209" xmltv_id="CCTV 4">CCTV 4</channel>
    <channel update="i" site="dstv.com" site_id="362" xmltv_id="M-Net Mobile">M-Net Mobile</channel>
 </settings>