diff --git a/src/zapit/src/getservices.cpp b/src/zapit/src/getservices.cpp index c1137fa68..30b087724 100644 --- a/src/zapit/src/getservices.cpp +++ b/src/zapit/src/getservices.cpp @@ -470,17 +470,21 @@ void CServiceManager::FindTransponder(xmlNodePtr search) while (search) { fe_type_t delsys = FE_QPSK; - if (!(strcmp(xmlGetName(search), "cable"))) + t_satellite_position satellitePosition = xmlGetSignedNumericAttribute(search, "position", 10); + if (!(strcmp(xmlGetName(search), "cable"))) { delsys = FE_QAM; + char * name = xmlGetAttribute(search, "name"); + satellitePosition = GetSatellitePosition(name); + } else if ((strcmp(xmlGetName(search), "sat"))) { search = search->xmlNextNode; continue; } - +#if 0 //t_satellite_position satellitePosition = xmlGetSignedNumericAttribute(search, "position", 10); char * name = xmlGetAttribute(search, "name"); t_satellite_position satellitePosition = GetSatellitePosition(name); - +#endif DBG("going to parse dvb-%c provider %s\n", xmlGetName(search)[0], xmlGetAttribute(search, "name")); ParseTransponders(search->xmlChildrenNode, satellitePosition, delsys); newfound++;