mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
gui/movieplayer.cpp, neutrino.cpp: fix inactivity timer -
do not stop playback to show cancel timer question
This commit is contained in:
@@ -799,7 +799,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
} else if ( msg == NeutrinoMessages::ZAPTO ||
|
} else if ( msg == NeutrinoMessages::ZAPTO ||
|
||||||
msg == NeutrinoMessages::STANDBY_ON ||
|
msg == NeutrinoMessages::STANDBY_ON ||
|
||||||
msg == NeutrinoMessages::SHUTDOWN ||
|
msg == NeutrinoMessages::SHUTDOWN ||
|
||||||
msg == NeutrinoMessages::SLEEPTIMER) { // Exit for Record/Zapto Timers
|
((msg == NeutrinoMessages::SLEEPTIMER) && !data) ) { // Exit for Record/Zapto Timers
|
||||||
printf("CMoviePlayerGui::PlayFile: ZAPTO etc..\n");
|
printf("CMoviePlayerGui::PlayFile: ZAPTO etc..\n");
|
||||||
if(msg != NeutrinoMessages::ZAPTO)
|
if(msg != NeutrinoMessages::ZAPTO)
|
||||||
menu_ret = menu_return::RETURN_EXIT_ALL;
|
menu_ret = menu_return::RETURN_EXIT_ALL;
|
||||||
|
@@ -2864,9 +2864,9 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(g_settings.shutdown_real)
|
if(g_settings.shutdown_real)
|
||||||
ExitRun(true, (cs_get_revision() > 7));
|
g_RCInput->postMsg(NeutrinoMessages::SHUTDOWN, 0);
|
||||||
else if(mode != mode_standby)
|
else
|
||||||
standbyMode( true );
|
g_RCInput->postMsg(NeutrinoMessages::STANDBY_ON, 0);
|
||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
}
|
}
|
||||||
else if( msg == NeutrinoMessages::RELOAD_SETUP ) {
|
else if( msg == NeutrinoMessages::RELOAD_SETUP ) {
|
||||||
|
Reference in New Issue
Block a user