|||}
*
* operations:
title.modify {remove| ('productiondate')}
title.modify {remove| ('temp_1'} * remove season
description.modify {remove| ('productiondate')}
description.modify {cleanup}
* convert episode in xmltv_ns
* temp_1 = season
* temp_2 = episode
temp_1.modify {remove|S}
temp_1.modify {remove|)}
temp_1.modify {calculate(not="" format=F0)|1 -}
temp_2.modify {calculate(not="" format=F0)|1 -}
episode.modify {clear}
episode.modify {addend('temp_1' not="")|'temp_1'}
episode.modify {addend|.}
episode.modify {addend('temp_2' not="")|'temp_2'}
episode.modify {addend|.}
episode.modify {clear(="..")}
*
* Added by Christer Johansen 3.1.2014
* Remove Chinese characters from category, title, subtitle and description
index_category.modify {remove(type=regex)|[\u4E00-\u9FFF]}
index_title.modify {remove(type=regex)|[\u4E00-\u9FFF]}
index_subtitle.modify {remove(type=regex)|[\u4E00-\u9FFF]}
index_description.modify {remove(type=regex)|[\u4E00-\u9FFF]}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
** each channel can be mobile or not.
** this is indicated by isWeb=0 or isWeb=1
** this one and zero can be found as the last number of the channel id value
** eg. channels 106 will have option value 1060 if it is a mobile and 1061 if it is a normal channel
*url_index{url|http://tvguide.starhub.com/tvguidephase2favourite/}
*index_site_id.scrub {|} * dummy scrub to force a channel file
*index_temp_4.scrub {multi|