- scanepg: rename webtv => webchan

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-03 09:36:19 +01:00
committed by Thilo Graf
parent 740fd3ac0d
commit 3946379f41

View File

@@ -207,11 +207,11 @@ void CEpgScan::AddTransponders()
bool CEpgScan::CheckMode() bool CEpgScan::CheckMode()
{ {
bool webtv = IS_WEBCHAN(CZapit::getInstance()->GetCurrentChannelID()); bool webchan = IS_WEBCHAN(CZapit::getInstance()->GetCurrentChannelID());
if ((g_settings.epg_scan_mode == CEpgScan::MODE_OFF) if ((g_settings.epg_scan_mode == CEpgScan::MODE_OFF)
|| (standby && !(g_settings.epg_scan_mode & MODE_STANDBY)) || (standby && !(g_settings.epg_scan_mode & MODE_STANDBY))
|| (!standby && !(g_settings.epg_scan_mode & MODE_LIVE)) || (!standby && !(g_settings.epg_scan_mode & MODE_LIVE))
|| (!standby && !webtv && (CFEManager::getInstance()->getEnabledCount() <= 1))) { || (!standby && !webchan && (CFEManager::getInstance()->getEnabledCount() <= 1))) {
return false; return false;
} }
return true; return true;
@@ -368,8 +368,8 @@ void CEpgScan::Next()
CFrontend *pip_fe = NULL; CFrontend *pip_fe = NULL;
#endif #endif
if (!standby) { if (!standby) {
bool webtv = IS_WEBCHAN(CZapit::getInstance()->GetCurrentChannelID()); bool webchan = IS_WEBCHAN(CZapit::getInstance()->GetCurrentChannelID());
if (!webtv) { if (!webchan) {
llocked = true; llocked = true;
live_fe = CZapit::getInstance()->GetLiveFrontend(); live_fe = CZapit::getInstance()->GetLiveFrontend();
CFEManager::getInstance()->lockFrontend(live_fe); CFEManager::getInstance()->lockFrontend(live_fe);