mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user