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 TH"] = {
"1 TH",
"Thor 5/6/7 0.8W",
"10872000",
"h",
"25000000",
"8PSK",
"DVB-S2",
"3/4" };
235 m_tdm[
"2 E7"] = {
"2 E7",
"Eutelsat 7.0E",
"10721000",
"h",
"22000000",
"QPSK",
"DVB-S",
"3/4" };
236 m_tdm[
"3 HB"] = {
"3 HB",
"Hotbird 13.0E",
"12015000",
"h",
"27500000",
"8PSK",
"DVB-S2",
"3/4" };
237 m_tdm[
"4 A1"] = {
"4 A1",
"Astra-1 19.2E",
"11229000",
"v",
"22000000",
"8PSK",
"DVB-S2",
"2/3" };
238 m_tdm[
"5 A3"] = {
"5 A3",
"Astra-3 23.5E",
"12031500",
"h",
"27500000",
"QPSK",
"DVB-S2",
"auto"};
239 m_tdm[
"6 A2"] = {
"6 A2",
"Astra-2 28.2E",
"10714000",
"h",
"22000000",
"QPSK",
"DVB-S",
"5/6" };
241 for (
auto &td:
m_tdm)
258 QMap<QString, struct tuningdata>
m_tdm;
266 QString
getFec (
const QString &satname) {
return m_tdm[satname].fec; }
275 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
276 "The frequency for this transport (multiplex) in kHz."));
286 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
287 "The frequency for this transport (multiplex) in Hz."));
296 setLabel(QObject::tr(
"Symbol Rate"));
299 "Symbol Rate (symbols/second).\n"
300 "Most DVB-S transponders transmit at 27500000 "
301 "symbols per second."));
320 setLabel(QObject::tr(
"Symbol Rate"));
323 "Symbol Rate (symbols/second).\n"
324 "Most DVB-C transports transmit at 6900000 or 6875000 "
325 "symbols per second."));
341 setHelpText(QObject::tr(
"Polarity (Option has no default)"));
356 "Inversion (Default: Auto):\n"
357 "Most cards can autodetect this now, so "
358 "leave it at Auto unless it won't work."));
371 setHelpText(QObject::tr(
"Bandwidth (Default: Auto)\n"));
406 "Forward Error Correction (Default: Auto)"));
415 setLabel(QObject::tr(
"LP Coderate"));
416 setHelpText(QObject::tr(
"Low Priority Code Rate (Default: Auto)"));
425 setLabel(QObject::tr(
"HP Coderate"));
426 setHelpText(QObject::tr(
"High Priority Code Rate (Default: Auto)"));
435 setLabel(QObject::tr(
"Guard Interval"));
436 setHelpText(QObject::tr(
"Guard Interval (Default: Auto)"));
450 setLabel(QObject::tr(
"Trans. Mode"));
451 setHelpText(QObject::tr(
"Transmission Mode (Default: Auto)"));
464 setHelpText(QObject::tr(
"Hierarchy (Default: Auto)"));
478 setLabel(QObject::tr(
"Modulation System"));
479 setHelpText(QObject::tr(
"Modulation system (Default: DVB-S2)"));
490 setLabel(QObject::tr(
"Modulation System"));
491 setHelpText(QObject::tr(
"Modulation system (Default: DVB-T2)"));
502 setLabel(QObject::tr(
"Modulation System"));
503 setHelpText(QObject::tr(
"Modulation System (Default: DVB-C/A)"));
516 setHelpText(QObject::tr(
"Roll-off factor (Default: 0.35)"));
530 label->setValue(
error);
535 #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