mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +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
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