Go to the documentation of this file.
30 #ifndef CHANNEL_SCAN_MISC_SETTINGS_H
31 #define CHANNEL_SCAN_MISC_SETTINGS_H
36 class TransLabelSetting;
38 class OptionalTypeSetting;
46 class 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 E7"] = {
"1 E7",
"Eutelsat 7.0E",
"10804000",
"v",
"30000000",
"QPSK",
"DVB-S2",
"5/6" };
235 m_tdm[
"2 HB"] = {
"2 HB",
"Hotbird 13.0E",
"12015000",
"h",
"27500000",
"8PSK",
"DVB-S2",
"3/4" };
236 m_tdm[
"3 A1"] = {
"3 A1",
"Astra-1 19.2E",
"11229000",
"v",
"22000000",
"8PSK",
"DVB-S2",
"2/3" };
237 m_tdm[
"4 A3"] = {
"4 A3",
"Astra-3 23.5E",
"12031500",
"h",
"27500000",
"QPSK",
"DVB-S2",
"auto"};
238 m_tdm[
"5 A2"] = {
"5 A2",
"Astra-2 28.2E",
"10714000",
"h",
"22000000",
"QPSK",
"DVB-S",
"5/6" };
240 for (
auto &td:
m_tdm)
257 QMap<QString, struct tuningdata>
m_tdm;
265 QString
getFec (
const QString &satname) {
return m_tdm[satname].fec; }
274 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
275 "The frequency for this transport (multiplex) in kHz."));
285 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
286 "The frequency for this transport (multiplex) in Hz."));
295 setLabel(QObject::tr(
"Symbol Rate"));
298 "Symbol Rate (symbols/second).\n"
299 "Most DVB-S transponders transmit at 27500000 "
300 "symbols per second."));
319 setLabel(QObject::tr(
"Symbol Rate"));
322 "Symbol Rate (symbols/second).\n"
323 "Most DVB-C transports transmit at 6900000 or 6875000 "
324 "symbols per second."));
340 setHelpText(QObject::tr(
"Polarity (Option has no default)"));
355 "Inversion (Default: Auto):\n"
356 "Most cards can autodetect this now, so "
357 "leave it at Auto unless it won't work."));
370 setHelpText(QObject::tr(
"Bandwidth (Default: Auto)\n"));
405 "Forward Error Correction (Default: Auto)"));
414 setLabel(QObject::tr(
"LP Coderate"));
415 setHelpText(QObject::tr(
"Low Priority Code Rate (Default: Auto)"));
424 setLabel(QObject::tr(
"HP Coderate"));
425 setHelpText(QObject::tr(
"High Priority Code Rate (Default: Auto)"));
434 setLabel(QObject::tr(
"Guard Interval"));
435 setHelpText(QObject::tr(
"Guard Interval (Default: Auto)"));
449 setLabel(QObject::tr(
"Trans. Mode"));
450 setHelpText(QObject::tr(
"Transmission Mode (Default: Auto)"));
463 setHelpText(QObject::tr(
"Hierarchy (Default: Auto)"));
477 setLabel(QObject::tr(
"Modulation System"));
478 setHelpText(QObject::tr(
"Modulation system (Default: DVB-S2)"));
489 setLabel(QObject::tr(
"Modulation System"));
490 setHelpText(QObject::tr(
"Modulation system (Default: DVB-T2)"));
501 setLabel(QObject::tr(
"Modulation System"));
502 setHelpText(QObject::tr(
"Modulation System (Default: DVB-C/A)"));
515 setHelpText(QObject::tr(
"Roll-off factor (Default: 0.35)"));
529 label->setValue(
error);
534 #endif // CHANNEL_SCAN_MISC_SETTINGS_H
static void error(const char *str,...)
QString getModulation(const QString &satname)
VERBOSE_PREAMBLE Most true
virtual void addChild(StandardSetting *child)
QString getFrequency(const QString &satname)
QString getFec(const QString &satname)
PaneError(const QString &error)
virtual void setHelpText(const QString &str)
QMap< QString, struct tuningdata > m_tdm
ServiceRequirements GetServiceRequirements(void) const
virtual QString getValue(void) const
virtual void setLabel(QString str)
QString getModSys(const QString &satname)
void addSelection(const QString &label, QString value=QString(), bool select=false)
QString getSymbolrate(const QString &satname)
QString getPolarity(const QString &satname)
void setValue(const QString &newValue) override