mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control
- Set Lua api version to 1.32
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4de37f1bb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1171,7 +1171,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
menu_ret = menu_return::RETURN_EXIT_ALL;
|
||||
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_LEAVE_ALL;
|
||||
ClearQueue();
|
||||
g_RCInput->postMsg(msg, data);
|
||||
} else if (msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER) {
|
||||
@@ -1194,7 +1194,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
printf("CMoviePlayerGui::PlayFile: neutrino handleMsg messages_return::cancel_all\n");
|
||||
menu_ret = menu_return::RETURN_EXIT_ALL;
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_LEAVE_ALL;
|
||||
ClearQueue();
|
||||
}
|
||||
else if (msg <= CRCInput::RC_MaxRC ) {
|
||||
|
Reference in New Issue
Block a user