gui/channellist.cpp: allow multi-record on channel. should we ask for confirm, if we have sign in list ?

This commit is contained in:
[CST] Focus
2012-08-05 15:43:45 +04:00
parent 89d81c6fd5
commit 0a8307b8ef

View File

@@ -585,6 +585,7 @@ int CChannelList::show()
loop=false; loop=false;
} }
else if( msg == CRCInput::RC_record) { //start direct recording from channellist else if( msg == CRCInput::RC_record) { //start direct recording from channellist
#if 0
if(!CRecordManager::getInstance()->RecordingStatus(chanlist[selected]->channel_id)) if(!CRecordManager::getInstance()->RecordingStatus(chanlist[selected]->channel_id))
{ {
printf("[neutrino channellist] start direct recording...\n"); printf("[neutrino channellist] start direct recording...\n");
@@ -601,7 +602,17 @@ int CChannelList::show()
} }
} }
#endif
if(SameTP()) {
printf("[neutrino channellist] start direct recording...\n");
hide();
if (!CRecordManager::getInstance()->Record(chanlist[selected]->channel_id)) {
paintHead();
paint();
} else
loop=false;
}
} }
else if( msg == CRCInput::RC_stop ) { //stopp recording else if( msg == CRCInput::RC_stop ) { //stopp recording
if(CRecordManager::getInstance()->RecordingStatus()) if(CRecordManager::getInstance()->RecordingStatus())