getservices: add code for DVB-T

Conflicts:
	src/zapit/src/getservices.cpp


Origin commit data
------------------
Commit: 8415c345b8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-12 (Sun, 12 May 2013)
This commit is contained in:
Stefan Seyfried
2013-05-12 00:01:34 +02:00
committed by [CST] Focus
parent db70ca7e01
commit 2bfe31821f

View File

@@ -669,6 +669,11 @@ bool CServiceManager::LoadScanXml(fe_type_t delsys)
position = xmlGetSignedNumericAttribute(search, "position", 10);
char * name = xmlGetAttribute(search, "name");
InitSatPosition(position, name, false, delsys);
} else if (!(strcmp(xmlGetName(search), "terrestrial"))) {
char * name = xmlGetAttribute(search, "name");
position = fake_pos++;
position &= 0x0EFF;
InitSatPosition(position, name, false, delsys);
} else if(!(strcmp(xmlGetName(search), "cable"))) {
char * name = xmlGetAttribute(search, "name");
position = fake_pos++;
@@ -725,10 +730,10 @@ bool CServiceManager::LoadServices(bool only_current)
INFO("Loading cables...");
LoadScanXml(FE_QAM);
}
if (CFEManager::getInstance()->haveTerr()) {
INFO("Loading terrestrial...");
LoadScanXml(FE_OFDM);
}
if (CFEManager::getInstance()->haveTerr()) {
INFO("Loading terrestrial...");
LoadScanXml(FE_OFDM);
}
parser = parseXmlFile(SERVICES_XML);
if (parser != NULL) {