1#
2# Sample configuration file for tv_augment
3#
4# $Id: tv_augment_user_type_3.xml.conf,v 1.1 2016/07/12 01:27:44 knowledgejunkie Exp $
5#
6# This file controls which augmentation rules are applied to the input XMLTV file
7#
8#
9# It also controls what reporting is printed in the program's output log file.
10#
11# Set an option to 1 to enable it, 0 to disable.
12#
13
14
15# If specified, then this language code will be written to e.g. <credit> elements
16language_code = en
17
18# Set the following values to have XMLTV::Augment automatically fetch a file
19# from the grabber's repository using XMLTV::Supplement
20use_supplement = 0
21supplement_grabber_name = tv_grab_uk_rt
22supplement_grabber_file = prog_titles_to_process
23
24
25
26
27###############################################################################
28#
29# RULES
30# =====
31#
32# The option called 'enable_all_options' is a 'super-option' to quickly turn
33# on or off ALL automatic and user rules. If this is set then ALL individual
34# options are ignored.
35#
36enable_all_options = 0
37
38
39# AUTOMATIC RULES
40# ===============
41#
42# The rules are pre-determined and use no user-defined data.
43#
44# Rule #A1 - Remove "New $title :" from <sub-title>.
45remove_duplicated_new_title_in_ep = 0
46
47# Rule #A2 - Remove duplicated programme title *and* episode from <sub-title>.
48remove_duplicated_title_and_ep_in_ep = 0
49
50# Rule #A3 - Remove duplicated programme title from <sub-title>.
51remove_duplicated_title_in_ep = 0
52
53# Rule #A4 -
54update_premiere_repeat_flags_from_desc = 0
55
56# Rule #A5 - Check for potential series, episode and part numbering in the title, episode and description fields.
57check_potential_numbering_in_text = 0
58
59# Rule #A5.1 - Extract series/episode numbering found in <title>.
60#  (requires #A5 enabled)
61#  may generate false matches so use this only if your data needs it
62extract_numbering_from_title = 0
63
64# Rule #A5.2 - Extract series/episode numbering found in <sub-title>.
65#  (requires #A5 enabled))
66#  may generate false matches so use this only if your data needs it
67extract_numbering_from_episode = 0
68
69# Rule #A5.3 - Extract series/episode numbering found in <desc>.
70#  (requires #A5 enabled)
71extract_numbering_from_desc = 0
72
73# Rule #A6 - If no <sub-title> then make one from "part" numbers.
74make_episode_from_part_numbers = 0
75
76
77# USER RULES
78# ==========
79#
80# These rules use data contained within the 'fixup' rules file to control their action.
81#
82process_user_rules = 1
83
84# Rule #1 - Remove specified non-title text from <title>.
85process_non_title_info = 0
86
87# Rule #2 - Extract sub-title from <title>.
88process_mixed_title_subtitle = 0
89
90# Rule #3 - Extract sub-title from <title>.
91process_mixed_subtitle_title = 1
92
93# Rule #4 - Reverse <title> and <sub-title>
94process_reversed_title_subtitle = 0
95
96# Rule #5 - Replace <title> with supplied text.
97process_replacement_titles = 0
98
99# Rule #6 - Replace <category> with supplied text.
100process_replacement_genres = 0
101
102# Rule #7 - Replace <sub-title> with supplied text.
103process_replacement_episodes = 0
104
105# Rule #8 - Replace specified <title> / <sub-title> with title/episode pair supplied.
106process_replacement_titles_episodes = 0
107
108# Rule #9 - Replace <sub-title> with supplied text when the <desc> matches that given.
109process_replacement_ep_from_desc = 0
110
111# Rule #10 - Replace specified <title> / <sub-title> with title/episode pair supplied using <desc>.
112process_replacement_titles_desc = 0
113
114# Rule #11 - Promote demoted title from <sub-title> to <title>.
115process_demoted_titles = 0
116
117# Rule #12 - Replace "Film"/"Films" <category> with supplied text.
118process_replacement_film_genres = 0
119
120# Rule #13 - Remove specified text from <sub-title> for a given <title>.
121process_subtitle_remove_text = 0
122
123# Rule #14 - Replace specified categories with another value
124process_translate_genres = 0
125
126# Rule #15 - Add specified categories to all programmes on a channel
127process_add_genres_to_channel = 0
128