From 0a2a302b12269b30acb7008439de561e3417b85f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 1 Oct 2011 21:11:58 +0000 Subject: [PATCH] neutrino channellist: always show infobar after start of recordings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1725 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/10981db08b5b17e7a6841e763671c206b2b57ee7 Author: Thilo Graf Date: 2011-10-01 (Sat, 01 Oct 2011) Origin message was: ------------------ *neutrino channellist: always show infobar after start of recordings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1725 e54a6e83-5905-42d5-8d5c-058d10e6a962 ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index fd9c131d0..21cc4282f 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -582,8 +582,17 @@ int CChannelList::show() if(!CRecordManager::getInstance()->RecordingStatus(chanlist[selected]->channel_id)) { printf("[neutrino channellist] start direct recording...\n"); - CRecordManager::getInstance()->Record(chanlist[selected]->channel_id); - paint(); + if (CRecordManager::getInstance()->Record(chanlist[selected]->channel_id)) + { + if(SameTP()) + { + zapOnExit = true; + loop=false; + } + else + DisplayInfoMessage("Recording is not possible here!"); // UTF-8 + } + } }