60 lines
4.9 KiB
INI
Executable File
60 lines
4.9 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: yourdiscovery.com
|
|
* @MinSWversion: V0
|
|
* none
|
|
* @Revision 1 - [12/03/2011] Quake505
|
|
* none
|
|
* @Remarks:
|
|
* none
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
|
|
site {url=www.mydigiguide.com|timezone=UTC+00:00|maxdays=14|cultureinfo=en-GB|charset=ISO-8859-1|titlematchfactor=50}
|
|
site {episodesystem=onscreen}
|
|
*
|
|
url_index{url|http://www.yourdiscovery.com/dni-tvlistings/GetScheduleByBroadcastDate?type=series&country_code=GB&channel_code=|channel|&date=|urldate|}
|
|
urldate.format {datestring|ddMMyyyy}
|
|
*
|
|
* Enable the three lines below to create a channel list
|
|
*
|
|
*index_site_id.scrub {multi()|<controls>|<channel channel-code="|"|</controls>}
|
|
*index_site_channel.scrub {multi()|<controls>|schedule-start="21600">|</channel>|</controls>}
|
|
*index_site_channel.modify {replace|&|And}
|
|
*
|
|
*
|
|
index_showsplit.scrub {multi|<channel-code>|<programme>|</programme>|</channel-code>}
|
|
*
|
|
*
|
|
* Scrubs
|
|
*
|
|
index_date.scrub {single|<date>|<raw>|</raw>|</date>}
|
|
index_start.scrub {single|<start-time>|<formatted>|</formatted>|</start-time>}
|
|
index_title.scrub {single|<series-title|>|<|</series-title>}
|
|
index_subtitle.scrub {single|<programme-title|>|<|/programme-title>}
|
|
index_description.scrub {single|<programme-description|>|<|/programme-description>}
|
|
index_episode.scrub {single|<programme-title>|Episode |<|/programme-title>}
|
|
index_temp_1.scrub {single|<series-title>|SERIES |<|/series-title>}
|
|
*index_temp_2.scrub {single|<duration-time|>|<|/duration-time>}
|
|
index_duration.scrub {single|<duration-time|>|<|/duration-time>}
|
|
*
|
|
*
|
|
* Mods
|
|
*
|
|
index_temp_1.modify {addstart(null)|'{single|<series-title>|(SEASON |)|</series-title>}'}
|
|
index_episode.modify {addstart(notnull)|E}
|
|
index_episode.modify {addstart(notnull)|S'index_temp_1'}
|
|
index_episode.modify {addstart(null)|S'index_temp_1}
|
|
index_episode.modify {addstart(null)|P'{single|<programme-title>| Part |<|/programme-title>}'}
|
|
*index_temp_2.modify {calculate (format=F2)|60/}
|
|
index_duration.modify {calculate (format=time)|60/}
|
|
index_description.modify {replace|Â|}
|
|
index_subtitle.modify {replace|â |- }
|
|
*
|
|
*
|
|
* The line below enables the stop element that uses the web page duration (this is not required)
|
|
*
|
|
*index_stop.modify {calculate(format=time)|'index_start' 'index_temp_2'+}
|
|
|