mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
zapit: speed up scan by skipping unsupported delivery systems
Origin commit data
------------------
Branch: ni/coolstream
Commit: 736828f56c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -141,6 +141,11 @@ void CServiceScan::CleanAllMaps()
|
||||
|
||||
bool CServiceScan::tuneFrequency(FrontendParameters *feparams, t_satellite_position satellitePosition)
|
||||
{
|
||||
if (! frontend->supportsDelivery(feparams->delsys)) {
|
||||
printf("[scan] [fe%d] does not support delivery system %d, skipping\n",
|
||||
frontend->getNumber(), feparams->delsys);
|
||||
return false;
|
||||
}
|
||||
frontend->setInput(satellitePosition, feparams->frequency, feparams->polarization);
|
||||
int ret = frontend->driveToSatellitePosition(satellitePosition, false); //true);
|
||||
if(ret > 0) {
|
||||
|
Reference in New Issue
Block a user