mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
committed by
[CST] Focus
parent
db70ca7e01
commit
2bfe31821f
@@ -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) {
|
||||
|
Reference in New Issue
Block a user