83
83
"overwrite channel names, frequencies, etc. with "
84
84
"values available from the data source. This will "
85
85
"override custom channel names, which is why it "
86
"is disabled by default.");
86
"is disabled by default.")
87
->SetGroup("Channel List Handling");
87
88
add("--remove-new-channels", "removechannels", false,
88
89
"disable new channels on datadirect web interface",
89
90
"When using DataDirect, ask mythfilldatabase to "
93
94
"MythTV by running mythfilldatabase without this "
94
95
"option. New digital channels cannot be directly "
95
96
"imported and thus are disabled automatically.")
98
->SetGroup("Channel List Handling");
97
99
add("--do-not-filter-new-channels", "nofilterchannels", false,
98
100
"don't filter ATSC channels for addition",
99
101
"Normally, MythTV tries to avoid adding ATSC "
100
102
"channels to NTSC channel lineups. This option "
101
103
"restores the behavior of adding every channel in "
102
104
"the downloaded channel lineup to MythTV's lineup, "
103
"in case MythTV's smarts fail you.");
105
"in case MythTV's smarts fail you.")
106
->SetGroup("Channel List Handling");
104
107
// need documentation for this one
105
108
add("--cardtype", "cardtype", "", "", "No information.");
119
" --refresh today --refresh 4-8 --refresh nottomorrow");
122
" --refresh today --refresh 4-8 --refresh nottomorrow")
123
->SetGroup("Filtering");
121
125
add("--max-days", "maxdays", 0, "force number of days to update",
122
126
"Force the maximum number of days, counting today, "
123
127
"for the guide data grabber to check for future "
129
->SetGroup("Filtering");
125
130
add("--refresh-today", "refreshtoday", false, "",
126
131
"This option is only valid for selected grabbers.\n"
127
132
"Force a refresh for today's guide data.\nThis can be used "
128
133
"in combination with other --refresh-<n> options.\n"
129
134
"If being used with datadirect, this option should not be "
130
135
"used, rather use --dd-grab-all to pull all listings each time.")
131
->SetDeprecated("use --refresh instead");
136
->SetDeprecated("use --refresh instead")
137
->SetGroup("Filtering");
132
138
add("--dont-refresh-tomorrow", "dontrefreshtomorrow", false, "",
133
139
"This option is only valid for selected grabbers.\n"
134
140
"Prevent mythfilldatabase from pulling information for "
136
142
"unless specifically specified otherwise.\n"
137
143
"If being used with datadirect, this option should not be "
138
144
"used, rather use --dd-grab-all to pull all listings each time.")
139
->SetDeprecated("use --refresh instead");
145
->SetDeprecated("use --refresh instead")
146
->SetGroup("Filtering");
140
147
add("--refresh-second", "refreshsecond", false, "",
141
148
"This option is only valid for selected grabbers.\n"
142
149
"Force a refresh for guide data two days from now. This can "
143
150
"be used in combination with other --refresh-<n> options.\n"
144
151
"If being used with datadirect, this option should not be "
145
152
"used, rather use --dd-grab-all to pull all listings each time.")
146
->SetDeprecated("use --refresh instead");
147
add("--refresh-day", "refreshday", 0U, "",
153
->SetDeprecated("use --refresh instead")
154
->SetGroup("Filtering");
155
add("--refresh-day", "refreshday", QVariant::StringList, "",
148
156
"This option is only valid for selected grabbers.\n"
149
157
"Force a refresh for guide data on a specific day. This can "
150
158
"be used in combination with other --refresh-<n> options.\n"
151
159
"If being used with datadirect, this option should not be "
152
160
"used, rather use --dd-grab-all to pull all listings each time.")
153
->SetDeprecated("use --refresh instead");
161
->SetDeprecated("use --refresh instead")
162
->SetGroup("Filtering");
154
163
add("--dont-refresh-tba", "dontrefreshtba", false,
155
164
"don't refresh \"To be announced\" programs",
156
165
"This option is only valid for selected grabbers.\n"
157
166
"Prevent mythfilldatabase from automatically refreshing any "
158
167
"programs marked as \"To be announced\".\n"
159
168
"If being used with datadirect, this option should not be "
160
"used, rather use --dd-grab-all to pull all listings each time.");
169
"used, rather use --dd-grab-all to pull all listings each time.")
170
->SetGroup("Filtering");
162
172
add("--refresh-all", "refreshall", false, "",
163
173
"This option is only valid for selected grabbers.\n"
169
179
->SetBlocks("dontrefreshtomorrow")
170
180
->SetBlocks("refreshsecond")
171
181
->SetBlocks("refreshday")
172
->SetBlocks("maxdays");
182
->SetBlocks("maxdays")
183
->SetGroup("Filtering");
174
185
add("--dd-grab-all", "ddgraball", false,
175
186
"refresh full data using DataDirect",
187
198
add("--only-update-channels", "onlychannels", false,
188
199
"only update channel lineup",
189
200
"Download as little listings data as possible to update the "
202
->SetGroup("Channel List Handling");
191
203
add("--no-mark-repeats", "markrepeats", true, "do not mark repeats", "");
192
204
add("--export-icon-map", "exporticonmap", "iconmap.xml",
193
"export icon map to file", "");
205
"export icon map to file", "")
206
->SetGroup("Channel Icon Handling");
194
207
add("--import-icon-map", "importiconmap", "iconmap.xml",
195
"import icon map to file", "");
208
"import icon map to file", "")
209
->SetGroup("Channel Icon Handling");
196
210
add("--update-icon-map", "updateiconmap", false,
197
"updates icon map icons", "");
211
"updates icon map icons", "")
212
->SetGroup("Channel Icon Handling");
198
213
add("--reset-icon-map", "reseticonmap", "", "resets icon maps",
199
214
"Reset all icon maps. If given 'all' as an optional value, reset "
200
"channel icons as well.");
215
"channel icons as well.")
216
->SetGroup("Channel Icon Handling");
218
add("--graboptions", "graboptions", "", "", "")
219
->SetRemoved("mythfilldatabase now passes any text after an\n"
220
" independent '--' directly to the external grabber.\n"
221
" e.g. mythfilldatabase -- --daily", "0.25");
222
add("--mark-repeats", "oldmarkrepeats", "", "", "")
223
->SetRemoved("This is now the default behavior. Use\n"
224
" --no-mark-repeats to disable.", "0.25");