CLuaInstVideo: Add setSinglePlay()

- When setSinglePlay() Neutrino returns after playing a movie
   immediately in the tv/radio modus back
 - Set Lua api version to 1.29

Example:
	video = video.new()
	video.setSinglePlay()
	video.PlayFile(...)
This commit is contained in:
M. Liebmann
2015-12-14 22:33:30 +01:00
parent 473af7b2ea
commit ed26f2ea05
3 changed files with 23 additions and 3 deletions

View File

@@ -23,7 +23,8 @@
class CLuaVideo
{
public:
CLuaVideo() {};
bool singlePlay;
CLuaVideo() { singlePlay=false; };
~CLuaVideo() {};
};
@@ -55,6 +56,7 @@ class CLuaInstVideo
static int channelRezap(lua_State *L);
static int createChannelIDfromUrl(lua_State *L);
static int getNeutrinoMode(lua_State *L);
static int setSinglePlay(lua_State *L);
static int VideoDelete(lua_State *L);
static void videoFunctionDeprecated(lua_State *L, std::string oldFunc);