mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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 ||
|
||||
msg == NeutrinoMessages::STANDBY_ON ||
|
||||
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");
|
||||
if(msg != NeutrinoMessages::ZAPTO)
|
||||
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)
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
else if(mode != mode_standby)
|
||||
standbyMode( true );
|
||||
g_RCInput->postMsg(NeutrinoMessages::SHUTDOWN, 0);
|
||||
else
|
||||
g_RCInput->postMsg(NeutrinoMessages::STANDBY_ON, 0);
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if( msg == NeutrinoMessages::RELOAD_SETUP ) {
|
||||
|
Reference in New Issue
Block a user