From e481cd42ac14a2f37399765b7ee0b64d96a08494 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 ? Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0a8307b8ef279e462b4bceb14d0a8e6df6cd0573 Author: [CST] Focus Date: 2012-08-05 (Sun, 05 Aug 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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())