Files
epg/siteini.pack/Czech Republic/tv.sms.cz.m.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

117 lines
5.3 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: tv.sms.cz.m
* @MinSWversion: V1.1.1/55.1
* @Revision 5 - [11/06/2017] Netuddki
* - Added country
* - Rewritten episode system
* - Added option for xmltv_ns
* - Partial rewrite
* - Added original title
* - Added subtitle
* - Refined Actor, Director, Productiondate, Description scrubbing
* @Revision 4 - [09/11/2015] Francis De Paemeleere
* - disable the .channels.xml generation
* @Revision 3 - [03/11/2015] Jan van Straaten
* - fix of start time, timezone
* @Revision 2 - [22/11/2013] Peter Fuzek
* - less unnecessary updates
* @Revision 1 - [19/11/2013] Peter Fuzek
* - replaced show icons with higher resolution pictures
* @Revision 0 - [24/08/2013] Peter Fuzek / Francis De Paemeleere
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=m.tv.sms.cz|timezone=Europe/Prague|maxdays=16|cultureinfo=cs-CZ|charset=windows-1250|titlematchfactor=50}
*
site {episodesystem=onscreen} *Enable for Onscreen Episode System
*site {episodesystem=xmltv_ns} *Enable for xmltv_ns Episode System
*
url_index{url|http://m.tv.sms.cz/index.php?den=|urldate|&stanice=|channel|&cas=0}
urldate.format {datestring|yyyy-MM-dd}
index_showsplit.scrub {multi|id='obsah'|<div class='porad'||id='preddal'}
index_start.scrub {regex(pattern="HH.mm")||>(\d{2}\.\d{2})<||}
index_title.scrub {single(include=2)|<a class='nazev'|>|<|</a>}
index_title.modify {remove(type=regex)|(?:[MCLDXVI]+)?\s\(\d+\)}
index_title.modify {remove(type=regex)|\(\d+/\d+\)}
index_temp_1.scrub {regex||<div class='detail'>(.*?)<div class='ztr'>||}
*
*
*
index_urlshow {url||<a class='nazev'|href='|'><div style|}
index_urlchannellogo.scrub {single|<div class='logo_out'|src='|'|</div>}
*
title.modify {addstart|'index_title'}
*
temp_1.scrub {regex||<title>(.*?)</title>||}
*
temp_2.scrub {regex||Krátký popis pořadu.*?</div>.*?(S\d{1,2}\s\d{1,2})||}
temp_3.scrub {regex||<span class=['"]sedy_text['"]> díl:.*?(\d+\. série / \d+\. díl)||}
temp_3.modify {addstart("")|'temp_2'}
temp_4.scrub {regex||<div class=['"]nadpis_detail['"]>.*?\((\d+/\d+)\)\|<div class=['"]nadpis_detail['"]>.*?^((?:[MCLDXVI]+)?\s\(\d+\))\|<div class=['"]nadpis_detail['"]>.*?\((\d{1,2})\)||}
temp_4.modify {cleanup(style=roman2arabicnumeral)}
temp_4.modify {addstart("")|'temp_3'}
episode.modify {set(pattern="S'S1' 'E1'""'S1'. série / 'E1'. díl""'S1'/'E1'""'S1' ('E1')""'S1'""'E1'")|'temp_4'}
*
temp_5.scrub {regex||<div class=['"]nadpis_scroll['"]>Krátký popis.*?</div>(.*?)<div class=||}
temp_5.modify {addstart("")|'index_temp_1'}
description.scrub {regex||<div class=['"]nadpis_scroll['"]>Dlouhý popis.*?</div>(.*?)(?:<div class=\|<span)||}
description.modify {addstart("")|'temp_5'}
description.modify {cleanup(tags="<"">")}
*
temp_6.modify {substring(type=regex)|'temp_5' "^\((.*?)\).*"}
temp_7.modify {regex||Seriál:(.*?)<span class=||}
temp_7.modify {addstart("")|'temp_6'}
temp_8.modify {substring(type=regex)|'temp_1' "/(.*?)\("}
temp_8.modify {addstart("")|'temp_7'}
titleoriginal.modify {addstart|'temp_8'}
titleoriginal.modify {cleanup(tags="<"">")}
titleoriginal.modify {remove|'title'}
titleoriginal.modify {cleanup}
*
temp_8.modify {substring(type=regex)|'temp_1' "-(.*?)/"}
subtitle.scrub {regex||díl:(.*?)<span class||}
subtitle.scrub {addstart("")|'temp_8'}
subtitle.modify {cleanup(tags="<"">")}
subtitle.modify {remove|'title'}
subtitle.modify {cleanup}
*
country.scrub {regex||Země:(.*?)</span>||}
country.modify {cleanup(tags="<"">")}
*
director.scrub {multi(separator=",")|<strong>Režie:</strong>||</div>|</div>}
director.scrub {regex||Krátký popis pořadu.*?Režie:(.*?)</div>||}
actor.scrub {multi(separator=",")|<strong>Hrají:</strong>||</div>|</div>}
category.scrub {multi(separator="/")|<strong>Žánr:</strong>||<|<}
temp_9.modify {substring(type=regex)|'description' "\s\(\d{4}\)"}
productiondate.scrub {single|<strong>Rok výroby:</strong>||<|<}
productiondate.modify {addstart("")|'temp_9'}
description.modify {remove|'productiondate'}
description.modify {remove|'titleoriginal'}
description.modify {remove|'director'}
description.modify {remove|Režie:}
description.modify {remove(type=regex)|\(\|\)}
productiondate.modify {remove(type=regex)|\(\|\)}
*
showicon.scrub {single|<div class="detail_foto_in">|src="|"|</div>|}
showicon.modify {replace|/100/|/600/}
actor.modify {remove| a další}
director.modify {remove| a další}
description.modify {cleanup}
productiondate.modify {cleanup}
*** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
*** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
***
*** @auto_xml_channel_start
*url_index{url|http://m.tv.sms.cz/?cas=0&zmen_stanice=true}
*index_site_id.scrub {multi(includeblock="title=")|<div class='stanice'|value='|'|}
*index_site_channel.scrub {multi(includeblock="title=")|<div class='stanice'|class='nazev'>|<|}
*scope.range {(channellist)|end}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
*** @auto_xml_channel_end