30#ifndef CHANNEL_SCAN_MISC_SETTINGS_H
31#define CHANNEL_SCAN_MISC_SETTINGS_H
36class TransLabelSetting;
38class OptionalTypeSetting;
46class DVBUtilsImportPane;
57 setLabel(QObject::tr(
"Ignore Signal Timeout"));
59 QObject::tr(
"This option allows you to slow down the scan for "
60 "broken drivers, such as the DVB drivers for the "
61 "Leadtek LR6650 DVB card."));
70 setLabel(QObject::tr(
"Search new Transports"));
72 QObject::tr(
"Digital transmissions may signal other available "
73 "Transports. If this option is enabled the scanner "
74 "scans all signaled transports for new/updated "
84 setLabel(QObject::tr(
"Desired Services"));
86 "TV - Adds A/V services only, "
87 "TV+Radio - Adds all services with audio, "
88 "All - Adds all services "
89 "(including data only services)."));
101 else if (val ==
"audio")
103 else if (val ==
"all")
114 setLabel(QObject::tr(
"Unencrypted Only"));
117 "If set, only non-encrypted channels will be "
118 "added during the scan."));
128 setLabel(QObject::tr(
"Logical Channel Numbers required"));
131 "If set, only services with a Logical Channel Number will "
132 "be added during the scan. This will filter out services "
133 "for set-top-box firmware download and video-on-demand "
134 "that can be present on DVB-C networks."));
144 setLabel(QObject::tr(
"Complete scan data required"));
147 "If set, only services that are present in the PAT, the PMT "
148 "and the SDT and that have a name will be added during the scan. "
149 "On satellites there are many incomplete channels, "
150 "such as feeds and offline channels, "
151 "that are not useful in a MythTV system. "
152 "These are filtered out by this option."));
162 setLabel(QObject::tr(
"Full search for old channels"));
165 "If set, compare all channels in the database with the channels found in "
166 "the scan; otherwise only the channels in the same transport are compared. "
167 "This option is useful when you want to keep channel data such as "
168 "the xmltvid and the icon path when doing a rescan "
169 "after channels have been rearranged across transports."));
179 setLabel(QObject::tr(
"Remove duplicates"));
182 "If set, select the transport stream multiplex with the best signal "
183 "when identical transports are received on different frequencies. "
184 "This option is useful for DVB-T2 and ATSC/OTA when a transport "
185 "can sometimes be received from different transmitters."));
195 setLabel(QObject::tr(
"Add full Transport Stream channels"));
198 "If set, create MPTS channels, which allow "
199 "recording of the full, unaltered, transport stream."));
209 setLabel(QObject::tr(
"Test Decryptability"));
211 QObject::tr(
"Test all channels to see if they can be decrypted "
212 "with installed CAM/smartcard. Sometimes the encrypted "
213 "flag is set spuriously. Attention: Enabling this "
214 "option increases the scan time for each encrypted "
215 "channel by a couple of seconds."));
226 setLabel(QObject::tr(
"Satellite tuning data"));
229 "Select a satellite from this list for the "
230 "tuning data of the reference transponder."));
234 m_tdm[
"1 TH"] = { .name=
"1 TH", .fullname=
"Thor 5/6/7 0.8W",
235 .frequency=
"10872000", .polarity=
"h",
236 .symbolrate=
"25000000", .modulation=
"8PSK",
237 .modSys=
"DVB-S2", .fec=
"3/4" };
238 m_tdm[
"2 E7"] = { .name=
"2 E7", .fullname=
"Eutelsat 7.0E",
239 .frequency=
"10721000", .polarity=
"h",
240 .symbolrate=
"22000000", .modulation=
"QPSK",
241 .modSys=
"DVB-S", .fec=
"3/4" };
242 m_tdm[
"3 HB"] = { .name=
"3 HB", .fullname=
"Hotbird 13.0E",
243 .frequency=
"12015000", .polarity=
"h",
244 .symbolrate=
"27500000", .modulation=
"8PSK",
245 .modSys=
"DVB-S2", .fec=
"3/4" };
246 m_tdm[
"4 A1"] = { .name=
"4 A1", .fullname=
"Astra-1 19.2E",
247 .frequency=
"11229000", .polarity=
"v",
248 .symbolrate=
"22000000", .modulation=
"8PSK",
249 .modSys=
"DVB-S2", .fec=
"2/3" };
250 m_tdm[
"5 A3"] = { .name=
"5 A3", .fullname=
"Astra-3 23.5E",
251 .frequency=
"12031500", .polarity=
"h",
252 .symbolrate=
"27500000", .modulation=
"QPSK",
253 .modSys=
"DVB-S2", .fec=
"auto"};
254 m_tdm[
"6 A2"] = { .name=
"6 A2", .fullname=
"Astra-2 28.2E",
255 .frequency=
"10773000", .polarity=
"h",
256 .symbolrate=
"23000000", .modulation=
"8PSK",
257 .modSys=
"DVB-S2", .fec=
"3/4" };
258 m_tdm[
"7 T3"] = { .name=
"7 T3", .fullname=
"Turksat-3A 42.0E",
259 .frequency=
"12610000", .polarity=
"h",
260 .symbolrate=
"20830000", .modulation=
"QPSK",
261 .modSys=
"DVB-S", .fec=
"3/4" };
262 m_tdm[
"8 T4"] = { .name=
"8 T4", .fullname=
"Turksat-4A 42.0E",
263 .frequency=
"11916000", .polarity=
"v",
264 .symbolrate=
"30000000", .modulation=
"QPSK",
265 .modSys=
"DVB-S", .fec=
"3/4" };
266 m_tdm[
"9 T8"] = { .name=
"9 T8", .fullname=
"Turksat-8K 42.0E",
267 .frequency=
"12605000", .polarity=
"v",
268 .symbolrate=
"34285000", .modulation=
"16APSK",
269 .modSys=
"DVB-S2", .fec=
"2/3" };
271 for (
auto &td:
m_tdm)
288 QMap<QString, struct tuningdata>
m_tdm;
296 QString
getFec (
const QString &satname) {
return m_tdm[satname].fec; }
305 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
306 "The frequency for this transport (multiplex) in kHz."));
316 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
317 "The frequency for this transport (multiplex) in Hz."));
326 setLabel(QObject::tr(
"Symbol Rate"));
329 "Symbol Rate (symbols/second).\n"
330 "Most DVB-S transponders transmit at 27500000 "
331 "symbols per second."));
350 setLabel(QObject::tr(
"Symbol Rate"));
353 "Symbol Rate (symbols/second).\n"
354 "Most DVB-C transports transmit at 6900000 or 6875000 "
355 "symbols per second."));
371 setHelpText(QObject::tr(
"Polarity (Option has no default)"));
386 "Inversion (Default: Auto):\n"
387 "Most cards can autodetect this now, so "
388 "leave it at Auto unless it won't work."));
401 setHelpText(QObject::tr(
"Bandwidth (Default: Auto)\n"));
436 "Forward Error Correction (Default: Auto)"));
445 setLabel(QObject::tr(
"LP Coderate"));
446 setHelpText(QObject::tr(
"Low Priority Code Rate (Default: Auto)"));
455 setLabel(QObject::tr(
"HP Coderate"));
456 setHelpText(QObject::tr(
"High Priority Code Rate (Default: Auto)"));
465 setLabel(QObject::tr(
"Guard Interval"));
466 setHelpText(QObject::tr(
"Guard Interval (Default: Auto)"));
480 setLabel(QObject::tr(
"Trans. Mode"));
481 setHelpText(QObject::tr(
"Transmission Mode (Default: Auto)"));
494 setHelpText(QObject::tr(
"Hierarchy (Default: Auto)"));
508 setLabel(QObject::tr(
"Modulation System"));
509 setHelpText(QObject::tr(
"Modulation system (Default: DVB-S2)"));
520 setLabel(QObject::tr(
"Modulation System"));
521 setHelpText(QObject::tr(
"Modulation system (Default: DVB-T2)"));
532 setLabel(QObject::tr(
"Modulation System"));
533 setHelpText(QObject::tr(
"Modulation System (Default: DVB-C/A)"));
546 setHelpText(QObject::tr(
"Roll-off factor (Default: 0.35)"));
560 label->setValue(
error);
ServiceRequirements GetServiceRequirements(void) const
void setValue(const QString &newValue) override
virtual void addSelection(const QString &label, QString value=QString(), bool select=false)
PaneError(const QString &error)
QString getFec(const QString &satname)
QMap< QString, struct tuningdata > m_tdm
QString getPolarity(const QString &satname)
QString getModSys(const QString &satname)
QString getFrequency(const QString &satname)
QString getSymbolrate(const QString &satname)
QString getModulation(const QString &satname)
virtual void addChild(StandardSetting *child)
virtual void setHelpText(const QString &str)
virtual QString getValue(void) const
virtual void setLabel(QString str)
VERBOSE_PREAMBLE Most true