scanepg: rename webtv => webchan

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3946379f41
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)

Origin message was:
------------------
- scanepg: rename webtv => webchan

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-03 09:36:19 +01:00
committed by Thilo Graf
parent 34e83914e4
commit 13319437b7

View File

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