Cam Menu: init CI|CARD|BOTH

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
svenhoefer
2020-01-01 15:11:01 +01:00
committed by GetAway
parent 250be1184a
commit a172e2db6c
6 changed files with 39 additions and 12 deletions

View File

@@ -2422,9 +2422,12 @@ bool CChannelList::SameTP(CZapitChannel * channel)
if (IS_WEBCHAN(channel->getChannelID()))
return true;
if(g_settings.ci_mode == 1) {
if(channel->bUseCI && CRecordManager::getInstance()->getUseCI())
return (CRecordManager::getInstance()->SameTransponder(channel->getChannelID()));
// 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
}
iscurrent = CFEManager::getInstance()->canTune(channel);