Skip to content

Commit

Permalink
Add Full Scan option for DVB-C Netherlands
Browse files Browse the repository at this point in the history
Add an entry in the frequency tables for a "Full Scan" option
for DVB-C in The Netherlands. There is currently only one entry
which is the initial tuning frequency of the Ziggo network.
  • Loading branch information
kmdewaal committed Mar 16, 2020
1 parent 3112994 commit a74700c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/cardutil.cpp
Expand Up @@ -2704,7 +2704,9 @@ vector<uint> CardUtil::GetLiveTVInputList(void)
QString CardUtil::GetDeviceName(dvb_dev_type_t type, const QString &device)
{
QString devname = QString(device);
#if 0
LOG(VB_RECORD, LOG_DEBUG, LOC + QString("DVB Device (%1)").arg(devname));
#endif
QString tmp = devname;

if (DVB_DEV_FRONTEND == type)
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dtvmultiplex.h
Expand Up @@ -103,7 +103,7 @@ class MTV_PUBLIC DTVMultiplex
DTVHierarchy m_hierarchy;
DTVPolarity m_polarity;
DTVCodeRate m_fec; ///< Inner Forward Error Correction rate
DTVModulationSystem m_modSys; ///< Modulation system
DTVModulationSystem m_modSys; ///< Modulation system
DTVRollOff m_rolloff;

// Optional additional info
Expand Down
11 changes: 10 additions & 1 deletion mythtv/libs/libmythtv/frequencytables.cpp
Expand Up @@ -194,8 +194,11 @@ QString TransportScanItem::toString() const
.arg(m_tuning.m_transMode)
.arg(m_tuning.m_guardInterval)
.arg(m_tuning.m_hierarchy);
str += QString("\t symbol_rate(%1) fec(%2)\n")
.arg(m_tuning.m_symbolRate)
.arg(m_tuning.m_fec);
}
str += QString("\t offset[0..2]: %1 %2 %3")
str += QString("\toffset[0..2]: %1 %2 %3")
.arg(m_freqOffsets[0]).arg(m_freqOffsets[1]).arg(m_freqOffsets[2]);
return str;
}
Expand Down Expand Up @@ -526,6 +529,12 @@ static void init_freq_tables(freq_table_map_t &fmap)
DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
6900000, 0, 0);

// DVB-C Netherlands
fmap["dvbc_qam_nl0"] = new FrequencyTable(
474000000, 474000000, 8000000, "Channel %1", 21,
DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM64,
6875000, 0, 0);

// DVB-C United Kingdom
fmap["dvbc_qam_gb0"] = new FrequencyTable(
12324000, 12324000+1, 10, "Channel %1", 1,
Expand Down

0 comments on commit a74700c

Please sign in to comment.