Commit Graph

16 Commits

Author SHA1 Message Date
Jacek Jendrzej
021db3ab04 src/gui/lua/lua_video.cpp fix possible segfault if argument is not a string (nil) 2016-07-22 17:24:39 +02:00
Jacek Jendrzej
c9e8a57418 check if string msg is not NULL, fix segfault 2016-05-19 15:22:15 +02:00
M. Liebmann
ec2afe52a9 CLuaInstVideo::VideoCheckData(): Fix segfault when invalid parameter is passed 2016-04-30 19:03:23 +02:00
Jacek Jendrzej
a471b2af10 some compil warning fixes 2016-04-23 21:19:04 +02:00
M. Liebmann
b1f08a6012 Fix last commit 2016-01-17 15:46:00 +01:00
M. Liebmann
644ab18844 CLuaInstVideo: Add script function 'setInfoFunc()'...
...for displaying information in the movieplayer

 - Set Lua api version to 1.36
2016-01-17 06:14:49 +01:00
M. Liebmann
6b99596c37 CLuaInstance: Fix commit 9e331ee4e3 2015-12-25 03:54:38 +01:00
M. Liebmann
9e331ee4e3 CLuaInstance: Fix and unified script function calls
- No api changes, code only
2015-12-23 08:29:15 +01:00
M. Liebmann
ed26f2ea05 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(...)
2015-12-14 22:34:53 +01:00
M. Liebmann
473af7b2ea CLuaInstVideo: Add getNeutrinoMode()
- Set Lua api version to 1.28

Example:
	video = video.new()
	if video.getNeutrinoMode() == NMODE.TS then
		messagebox.exec{title="Attention!", text="Movie player is busy.", buttons={ "ok" } }
	end
2015-12-14 22:34:53 +01:00
M. Liebmann
83176835e3 CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions
- The old version of the video and misc functions is deprecated
   but still valid
2015-12-12 10:42:28 +01:00
M. Liebmann
aff947af92 CLuaInstance: Move video functions in separate class
- No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
b9afbb1e2c CLuaInstance: Add script function 'channelRezap'
- Alternative rezap method for movie plugins
 - Set Lua api version to 1.21
2015-12-08 12:01:25 +01:00
M. Liebmann
0a008ab308 CLuaInstance: Add script function zapitStopPlayBack
- For safe running ShowPicture() in the plugin
 - Set Lua api version to 1.19
2015-12-08 12:01:25 +01:00
M. Liebmann
ffea6559c9 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
2015-12-08 12:01:25 +01:00
M. Liebmann
464f929437 CLuaInstance: Move luainstance into a separate directory (src/gui/lua)
- Move video functions from luainstance.cpp to lua_video.cpp
 - For the future, provided the individual classes
   (eg menu, CComponents etc.) to move in separate files.
2015-12-08 12:01:25 +01:00