From 0a8307b8ef279e462b4bceb14d0a8e6df6cd0573 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sun, 5 Aug 2012 15:43:45 +0400 Subject: [PATCH] gui/channellist.cpp: allow multi-record on channel. should we ask for confirm, if we have sign in list ? --- src/gui/channellist.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 9eabbd53e..ec97ae09b 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -585,6 +585,7 @@ int CChannelList::show() loop=false; } else if( msg == CRCInput::RC_record) { //start direct recording from channellist +#if 0 if(!CRecordManager::getInstance()->RecordingStatus(chanlist[selected]->channel_id)) { 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 if(CRecordManager::getInstance()->RecordingStatus())