mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
CLuaInstance: The first call to Lua::PlayFile() block restoreNeutrino
- Running restoreNeutrino when exiting the plugin and
function is blocked
- Set Lua api version to 1.18
Origin commit data
------------------
Commit: ffea6559c9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
Origin message was:
------------------
CLuaInstance: The first call to Lua::PlayFile() block restoreNeutrino
- Running restoreNeutrino when exiting the plugin and
function is blocked
- Set Lua api version to 1.18
This commit is contained in:
@@ -67,6 +67,14 @@ int CLuaInstance::PlayFile(lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
CLuaData *W = CheckData(L, 1);
|
||||
if (!W)
|
||||
return 0;
|
||||
if (W->moviePlayerBlocked == false) {
|
||||
CMoviePlayerGui::getInstance().setBlockedFromPlugin(true);
|
||||
W->moviePlayerBlocked = true;
|
||||
}
|
||||
|
||||
const char *title;
|
||||
const char *info1 = "";
|
||||
const char *info2 = "";
|
||||
|
Reference in New Issue
Block a user