From e17852237a97c13a7924a9f3fe1e5c8dfbdb4003 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 5 Jul 2017 08:57:04 +0200 Subject: [PATCH] no shutdown if streaming (thx dbo) prevent shutdown from timer if stb is started from deep standby > does a timer-record > and meanwhile streaming (eg. localTV or via web-if to PC) is active Signed-off-by: Thilo Graf Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/57f46e1f2b01852e4f719e72e10f87258b9647eb Author: TangoCash Date: 2017-07-05 (Wed, 05 Jul 2017) --- src/neutrino.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 24ed037d0..b25ed8e7b 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3497,6 +3497,8 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) skipShutdownTimer = (ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWNTIMER_ANNOUNCE, CMsgBox::mbrNo, CMsgBox::mbYes | CMsgBox::mbNo, NULL, 450, 5) == CMsgBox::mbrYes); } else if( msg == NeutrinoMessages::SHUTDOWN ) { + if(CStreamManager::getInstance()->StreamStatus()) + skipShutdownTimer = true; if(!skipShutdownTimer) { ExitRun(g_info.hw_caps->can_shutdown); }