mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
gui/scan.cpp: set scan channel types in scan flags
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0853780b47
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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,9 +279,6 @@ 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 */
|
||||||
|
Reference in New Issue
Block a user