Ticket #2435: NZ_DVB_T.patch

File NZ_DVB_T.patch, 1.8 KB (added by lennon@…, 13 years ago)

Updated NZ DVB-T Scanning File

  • libs/libmythtv/scanwizardhelpers.h

     
    200200        UK,
    201201        DE,
    202202        ES,
     203        NZ,
    203204    };
    204205
    205206    ScanCountry();
  • libs/libmythtv/scanwizardhelpers.cpp

     
    439439        country = UK;
    440440    else if (qtcountry == QLocale::Spain)
    441441        country = ES;
     442    else if (qtcountry == QLocale::NewZealand)
     443        country = NZ;
    442444#endif
    443445
    444446    setLabel(tr("Country"));
     
    448450    addSelection(QObject::tr("United Kingdom"), "uk", country == UK);
    449451    addSelection(QObject::tr("Germany"),        "de", country == DE);
    450452    addSelection(QObject::tr("Spain"),          "es", country == ES);
     453    addSelection(QObject::tr("New Zealand"),    "nz", country == NZ);
    451454}
    452455
    453456AnalogPane::AnalogPane() :
  • libs/libmythtv/frequencytables.cpp

     
    319319        DTVTransmitMode::kTransmissionModeAuto,
    320320        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    321321        DTVModulation::kModulationQAMAuto, 125000, 0); // UHF 21-69
     322    // New Zealand
     323     fmap["dvbt_ofdm_nz0"] = new FrequencyTable(
     324       474000000, 858000000, 8000000, "", 0, DTVInversion::kInversionOff,
     325        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     326        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAM64,
     327        DTVTransmitMode::kTransmissionModeAuto,
     328        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     329        DTVModulation::kModulationQAM64, 125000, 0); // UHF 21 - 69
    322330
    323331//#define DEBUG_DVB_OFFSETS
    324332#ifdef DEBUG_DVB_OFFSETS