mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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 <dbt@novatux.de>
Origin commit data
------------------
Commit: 57f46e1f2b
Author: TangoCash <eric@loxat.de>
Date: 2017-07-05 (Wed, 05 Jul 2017)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user