mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/scan.cpp: set scan channel types in scan flags
This commit is contained in:
@@ -170,6 +170,9 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
if(scansettings.scan_logical_numbers)
|
if(scansettings.scan_logical_numbers)
|
||||||
scan_flags |= CServiceScan::SCAN_LOGICAL_NUMBERS;
|
scan_flags |= CServiceScan::SCAN_LOGICAL_NUMBERS;
|
||||||
|
|
||||||
|
/* channel types to scan, TV/RADIO/ALL */
|
||||||
|
scan_flags |= scansettings.scanType;
|
||||||
|
|
||||||
sat_iterator_t sit;
|
sat_iterator_t sit;
|
||||||
bool scan_all = actionKey == "all";
|
bool scan_all = actionKey == "all";
|
||||||
bool test = actionKey == "test";
|
bool test = actionKey == "test";
|
||||||
@@ -267,6 +270,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
|
|
||||||
/* send diseqc repeat to zapit */
|
/* send diseqc repeat to zapit */
|
||||||
g_Zapit->setDiseqcRepeat( scansettings.diseqcRepeat);
|
g_Zapit->setDiseqcRepeat( scansettings.diseqcRepeat);
|
||||||
|
/* send scantype to zapit */
|
||||||
|
g_Zapit->setScanType((CZapitClient::scanType) scansettings.scanType );
|
||||||
#endif
|
#endif
|
||||||
g_Zapit->setScanBouquetMode( (CZapitClient::bouquetMode)scansettings.bouquetMode);
|
g_Zapit->setScanBouquetMode( (CZapitClient::bouquetMode)scansettings.bouquetMode);
|
||||||
|
|
||||||
@@ -274,14 +279,11 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
if(satList.size())
|
if(satList.size())
|
||||||
g_Zapit->setScanSatelliteList( satList);
|
g_Zapit->setScanSatelliteList( satList);
|
||||||
|
|
||||||
/* send scantype to zapit */
|
|
||||||
g_Zapit->setScanType((CZapitClient::scanType) scansettings.scanType );
|
|
||||||
|
|
||||||
tuned = -1;
|
tuned = -1;
|
||||||
paint(test);
|
paint(test);
|
||||||
/* go */
|
/* go */
|
||||||
if(test) {
|
if(test) {
|
||||||
testFunc();
|
testFunc();
|
||||||
} else if(manual)
|
} else if(manual)
|
||||||
success = g_Zapit->scan_TP(TP);
|
success = g_Zapit->scan_TP(TP);
|
||||||
else if(fast) {
|
else if(fast) {
|
||||||
|
Reference in New Issue
Block a user