Cam Menu: Allow switching to all or same transponder channels

while CI recording

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
FlatTV
2020-01-01 14:17:30 +01:00
committed by GetAway
parent f291dfb445
commit 250be1184a
8 changed files with 27 additions and 15 deletions

View File

@@ -2422,16 +2422,10 @@ bool CChannelList::SameTP(CZapitChannel * channel)
if (IS_WEBCHAN(channel->getChannelID()))
return true;
#if 0 //Usable CI channel while recording
if(g_settings.ci_mode != 0 && channel->bUseCI && CRecordManager::getInstance()->getUseCI()) {
if(g_settings.ci_mode == 1)
return (CRecordManager::getInstance()->SameTransponder(channel->getChannelID())); // SameTransponder
else
return false; // No other CI channel
if(g_settings.ci_mode == 1) {
if(channel->bUseCI && CRecordManager::getInstance()->getUseCI())
return (CRecordManager::getInstance()->SameTransponder(channel->getChannelID()));
}
#endif
if(channel->bUseCI && CRecordManager::getInstance()->getUseCI())
return false;
iscurrent = CFEManager::getInstance()->canTune(channel);
}