mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
- scanepg: rename webtv => webchan
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user