mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
- Set Lua api version to 1.33
Origin commit data
------------------
Branch: ni/coolstream
Commit: 37e8c328c5
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:
@@ -335,6 +335,12 @@ static void set_lua_variables(lua_State *L)
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
table_key post_msg[] =
|
||||
{
|
||||
{ "STANDBY_ON", (lua_Integer)CLuaInstMisc::POSTMSG_STANDBY_ON },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
/* list of environment variable arrays to be exported */
|
||||
lua_envexport e[] =
|
||||
{
|
||||
@@ -349,6 +355,7 @@ static void set_lua_variables(lua_State *L)
|
||||
{ "DYNFONT", dynfont },
|
||||
{ "CURL", curl_status },
|
||||
{ "NMODE", neutrino_mode },
|
||||
{ "POSTMSG", post_msg },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user