Skip to content

Commit

Permalink
Fixes #9768. Fixes #3702. Adds Italian frequencies to channel scanner.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed May 13, 2011
1 parent 2f1a75c commit 2981c13
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Expand Up @@ -68,6 +68,7 @@ ScanCountry::ScanCountry() : ComboBoxSetting(this)
addSelection(QObject::tr("France"), "fr", country == "fr");
addSelection(QObject::tr("Germany"), "de", country == "de");
addSelection(QObject::tr("Greece"), "gr", country == "gr");
addSelection(QObject::tr("Italy"), "it", country == "it");
addSelection(QObject::tr("New Zealand"), "nz", country == "nz");
addSelection(QObject::tr("Spain"), "es", country == "es");
addSelection(QObject::tr("Sweden"), "se", country == "se");
Expand Down
18 changes: 18 additions & 0 deletions mythtv/libs/libmythtv/frequencytables.cpp
Expand Up @@ -366,6 +366,24 @@ static void init_freq_tables(freq_table_map_t &fmap)
DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65

// Italy (Italia)
fmap["dvbt_ofdm_it0"] = new FrequencyTable(
177500000, 226500000, 7000000, "Channel %1", 5,
DTVInversion::kInversionOff,
DTVBandwidth::kBandwidth7MHz, DTVCodeRate::kFECAuto,
DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
DTVTransmitMode::kTransmissionMode8K,
DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
DTVModulation::kModulationQAMAuto, 0, 0); // VHF 5-12, deprecated
fmap["dvbt_ofdm_it1"] = new FrequencyTable(
474000000, 858000000, 8000000, "Channel %1", 21,
DTVInversion::kInversionOff,
DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
DTVTransmitMode::kTransmissionModeAuto,
DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65

// Czech Republic
fmap["dvbt_ofdm_cz0"] = new FrequencyTable(
474000000, 858000000, 8000000, "Channel %1", 21,
Expand Down

0 comments on commit 2981c13

Please sign in to comment.