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",
"10773000",
"h",
"23000000",
"8PSK",
"DVB-S2",
"3/4" };
240 m_tdm[
"7 T3"] = {
"7 T3",
"Turksat-3A 42.0E",
"12610000",
"h",
"20830000",
"QPSK",
"DVB-S",
"3/4" };
241 m_tdm[
"8 T4"] = {
"8 T4",
"Turksat-4A 42.0E",
"11916000",
"v",
"30000000",
"QPSK",
"DVB-S",
"3/4" };
242 m_tdm[
"9 T8"] = {
"9 T8",
"Turksat-8K 42.0E",
"12605000",
"v",
"34285000",
"16APSK",
"DVB-S2",
"2/3" };
244 for (
auto &td:
m_tdm)
261 QMap<QString, struct tuningdata>
m_tdm;
269 QString
getFec (
const QString &satname) {
return m_tdm[satname].fec; }
278 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
279 "The frequency for this transport (multiplex) in kHz."));
289 setHelpText(QObject::tr(
"Frequency (Option has no default)\n"
290 "The frequency for this transport (multiplex) in Hz."));
299 setLabel(QObject::tr(
"Symbol Rate"));
302 "Symbol Rate (symbols/second).\n"
303 "Most DVB-S transponders transmit at 27500000 "
304 "symbols per second."));
323 setLabel(QObject::tr(
"Symbol Rate"));
326 "Symbol Rate (symbols/second).\n"
327 "Most DVB-C transports transmit at 6900000 or 6875000 "
328 "symbols per second."));
344 setHelpText(QObject::tr(
"Polarity (Option has no default)"));
359 "Inversion (Default: Auto):\n"
360 "Most cards can autodetect this now, so "
361 "leave it at Auto unless it won't work."));
374 setHelpText(QObject::tr(
"Bandwidth (Default: Auto)\n"));
409 "Forward Error Correction (Default: Auto)"));
418 setLabel(QObject::tr(
"LP Coderate"));
419 setHelpText(QObject::tr(
"Low Priority Code Rate (Default: Auto)"));
428 setLabel(QObject::tr(
"HP Coderate"));
429 setHelpText(QObject::tr(
"High Priority Code Rate (Default: Auto)"));
438 setLabel(QObject::tr(
"Guard Interval"));
439 setHelpText(QObject::tr(
"Guard Interval (Default: Auto)"));
453 setLabel(QObject::tr(
"Trans. Mode"));
454 setHelpText(QObject::tr(
"Transmission Mode (Default: Auto)"));
467 setHelpText(QObject::tr(
"Hierarchy (Default: Auto)"));
481 setLabel(QObject::tr(
"Modulation System"));
482 setHelpText(QObject::tr(
"Modulation system (Default: DVB-S2)"));
493 setLabel(QObject::tr(
"Modulation System"));
494 setHelpText(QObject::tr(
"Modulation system (Default: DVB-T2)"));
505 setLabel(QObject::tr(
"Modulation System"));
506 setHelpText(QObject::tr(
"Modulation System (Default: DVB-C/A)"));
519 setHelpText(QObject::tr(
"Roll-off factor (Default: 0.35)"));
533 label->setValue(
error);
538 #endif // CHANNEL_SCAN_MISC_SETTINGS_H
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