Ticket #8060: czechfreqtable.diff

File czechfreqtable.diff, 2.1 KB (added by Petr Stehlik <pstehlik@…>, 11 years ago)
  • mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp

     
    6262        country = "au";
    6363    else if (qtcountry == QLocale::Germany)
    6464        country = "de";
     65    else if (qtcountry == QLocale::CzechRepublic)
     66        country = "cz";
    6567    else if (qtcountry == QLocale::Finland)
    6668        country = "fi";
    6769    else if (qtcountry == QLocale::Sweden)
     
    8183    addSelection(QObject::tr("Sweden"),         "se", country == "se");
    8284    addSelection(QObject::tr("United Kingdom"), "uk", country == "uk");
    8385    addSelection(QObject::tr("Germany"),        "de", country == "de");
     86    addSelection(QObject::tr("Czech Republic"), "cz", country == "cz");
    8487    addSelection(QObject::tr("Spain"),          "es", country == "es");
    8588    addSelection(QObject::tr("New Zealand"),    "nz", country == "nz");
    8689    addSelection(QObject::tr("France"),         "fr", country == "fr");
  • mythtv/libs/libmythtv/frequencytables.cpp

     
    349349        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    350350        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65
    351351
     352    // Czech Republic
     353    fmap["dvbt_ofdm_cz0"] = new FrequencyTable(
     354        474000000, 858000000, 8000000, "Channel %1", 21,
     355        DTVInversion::kInversionOff,
     356        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFEC_2_3,
     357        DTVCodeRate::kFEC_2_3, DTVModulation::kModulationQAM64,
     358        DTVTransmitMode::kTransmissionMode8K,
     359        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     360        DTVModulation::kModulationQAM64, 0, 0); // UHF 21-69
     361
    352362    // Spain
    353363    fmap["dvbt_ofdm_es0"] = new FrequencyTable(
    354364        474000000, 858000000, 8000000, "Channel %1", 21,