Ticket #9768: italy-freqs.diff

File italy-freqs.diff, 2.4 KB (added by Marco Gusy <picander78@…>, 9 years ago)
  • mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp

    diff --git a/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp b/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp
    index 79ab817..be0151b 100644
    a b ScanCountry::ScanCountry() : ComboBoxSetting(this) 
    6868    addSelection(QObject::tr("France"),         "fr", country == "fr");
    6969    addSelection(QObject::tr("Germany"),        "de", country == "de");
    7070    addSelection(QObject::tr("Greece"),         "gr", country == "gr");
     71    addSelection(QObject::tr("Italy"),          "it", country == "it");
    7172    addSelection(QObject::tr("New Zealand"),    "nz", country == "nz");
    7273    addSelection(QObject::tr("Spain"),          "es", country == "es");
    7374    addSelection(QObject::tr("Sweden"),         "se", country == "se");
  • mythtv/libs/libmythtv/frequencytables.cpp

    diff --git a/mythtv/libs/libmythtv/frequencytables.cpp b/mythtv/libs/libmythtv/frequencytables.cpp
    index c00a06b..64e55f8 100644
    a b static void init_freq_tables(freq_table_map_t &fmap) 
    366366        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    367367        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65
    368368
     369    // Italy (Italia)
     370    fmap["dvbt_ofdm_it0"] = new FrequencyTable(
     371        177500000, 226500000, 7000000, "Channel %1", 5,
     372        DTVInversion::kInversionOff,
     373        DTVBandwidth::kBandwidth7MHz, DTVCodeRate::kFECAuto,
     374        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     375        DTVTransmitMode::kTransmissionMode8K,
     376        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     377        DTVModulation::kModulationQAMAuto, 0, 0); // VHF 5-12, deprecated
     378    fmap["dvbt_ofdm_it1"] = new FrequencyTable(
     379        474000000, 858000000, 8000000, "Channel %1", 21,
     380        DTVInversion::kInversionOff,
     381        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     382        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     383        DTVTransmitMode::kTransmissionModeAuto,
     384        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     385        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65   
     386
    369387    // Czech Republic
    370388    fmap["dvbt_ofdm_cz0"] = new FrequencyTable(
    371389        474000000, 858000000, 8000000, "Channel %1", 21,