Ticket #8070: greece-dvb-t.diff

File greece-dvb-t.diff, 2.3 KB (added by yianniv, 10 years ago)

DVB-T frequency tables for Greece

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

     
    7474        country = "nz";
    7575    else if (qtcountry == QLocale::France)
    7676        country = "fr";
     77    else if (qtcountry == QLocale::Greece)
     78        country = "gr";
    7779
    7880    setLabel(tr("Country"));
    7981    addSelection(QObject::tr("Australia"),      "au", country == "au");
     
    8486    addSelection(QObject::tr("Spain"),          "es", country == "es");
    8587    addSelection(QObject::tr("New Zealand"),    "nz", country == "nz");
    8688    addSelection(QObject::tr("France"),         "fr", country == "fr");
     89    addSelection(QObject::tr("Greece"),         "gr", country == "gr");
    8790}
    8891
    8992
  • mythtv/libs/libmythtv/frequencytables.cpp

     
    351351        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    352352        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65
    353353
     354    // Greece (Hellas)
     355    fmap["dvbt_ofdm_gr0"] = new FrequencyTable(
     356        174000000, 230000000, 7000000, "Channel %1", 5,
     357        DTVInversion::kInversionAuto,
     358        DTVBandwidth::kBandwidth7MHz, DTVCodeRate::kFECAuto,
     359        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     360        DTVTransmitMode::kTransmissionModeAuto,
     361        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyAuto,
     362        DTVModulation::kModulationQAMAuto, 0, 0); // VHF 5-12, deprecated
     363    fmap["dvbt_ofdm_gr1"] = new FrequencyTable(
     364        474000000, 866000000, 8000000, "Channel %1", 21,
     365        DTVInversion::kInversionAuto,
     366        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     367        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     368        DTVTransmitMode::kTransmissionModeAuto,
     369        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     370        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65
     371
    354372    // Spain
    355373    fmap["dvbt_ofdm_es0"] = new FrequencyTable(
    356374        474000000, 858000000, 8000000, "Channel %1", 21,