Ticket #13445: 20190408-nl-dvbt-frequency-table.patch

File 20190408-nl-dvbt-frequency-table.patch, 2.7 KB (added by Klaas de Waal, 2 years ago)

Frequency table for DVB-T/T2 in The Netherlands

  • mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp

    diff --git a/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp b/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp
    index 90e1c596b4..e5cddef43d 100644
    a b ScanCountry::ScanCountry() 
    7070    addSelection(QObject::tr("Greece"),         "gr", country == "gr");
    7171    addSelection(QObject::tr("Israel"),         "il", country == "il");
    7272    addSelection(QObject::tr("Italy"),          "it", country == "it");
     73    addSelection(QObject::tr("Netherlands"),    "nl", country == "nl");
    7374    addSelection(QObject::tr("New Zealand"),    "nz", country == "nz");
    7475    addSelection(QObject::tr("Spain"),          "es", country == "es");
    7576    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 5a36fffbbb..0c12bdbe71 100644
    a b static void init_freq_tables(freq_table_map_t &fmap) 
    369369        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    370370        DTVModulation::kModulationQAMAuto, 125000, 0); // UHF 28-69
    371371
    372     // Germany (Deuschland)
     372    // Germany (Deutschland)
    373373    fmap["dvbt_ofdm_de0"] = new FrequencyTable(
    374374        177500000, 226500000, 7000000, "Channel %1", 5,
    375375        DTVInversion::kInversionOff,
    static void init_freq_tables(freq_table_map_t &fmap) 
    471471        DTVGuardInterval::kGuardInterval_1_16, DTVHierarchy::kHierarchyNone,
    472472        DTVModulation::kModulationQAM64, 0 , 0); // UHF 21-69
    473473
    474     // france
     474    // France
    475475    fmap["dvbt_ofdm_fr0"] = new FrequencyTable(
    476476        474000000, 850000000, 8000000, "Channel %1", 21,
    477477        DTVInversion::kInversionOff,
    static void init_freq_tables(freq_table_map_t &fmap) 
    491491        DTVGuardInterval::kGuardInterval_1_4, DTVHierarchy::kHierarchyNone,
    492492        DTVModulation::kModulationQAM64, 0, 0);
    493493
     494    // Netherlands
     495    fmap["dvbt_ofdm_nl0"] = new FrequencyTable(
     496        474000000, 786000000, 8000000, "Channel %1", 21,
     497        DTVInversion::kInversionOff,
     498        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     499        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     500        DTVTransmitMode::kTransmissionModeAuto,
     501        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     502        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-60
     503
    494504    // Chile (ISDB-Tb)
    495505    fmap["dvbt_ofdm_cl0"] = new FrequencyTable(
    496506        473000000, 803000000, 6000000, "Channel %1", 14,