Commit Graph

24 Commits

Author SHA1 Message Date
Jacek Jendrzej
391197ab4f add lua screenshot; possible parameters: osd and video=[false|true] and name=picname in /tmp dir 2021-08-01 15:17:05 +02:00
Jacek Jendrzej
fa951c883c movieplayer arm: add option to play separate audio file 2019-11-03 18:42:05 +01:00
Jacek Jendrzej
4f071d99b9 Revert "lua: don't play video if movieplayer is in use"
This reverts commit 45925b1329.
2019-06-28 17:08:16 +02:00
Jacek Jendrzej
45925b1329 lua: don't play video if movieplayer is in use 2019-06-09 17:21:18 +02:00
svenhoefer
5c413dce45 - move compatibility headers to /lib/hardware
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
0fc3e793a4 - neutrino: unify modes handling; ...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-22 15:42:09 +01:00
Thilo Graf
dde298b1b7 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
M. Liebmann
b1ab3e2290 Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo
- Set Lua api version to 1.59
2016-09-08 08:45:15 +02:00
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