Commit Graph

7115 Commits

Author SHA1 Message Date
svenhoefer
25e1f5bc9e - user_menue: disable some items in movieplayer mode 2015-12-15 08:15:17 +01:00
svenhoefer
0dd22ffd5d - movieplayer: allow usermenu, when colorkeys not assigned 2015-12-15 08:15:17 +01:00
svenhoefer
4c7cea95e9 - infoviewer_bb: use key-assignment from movieplayer 2015-12-15 08:15:17 +01:00
svenhoefer
7ccb57548b - infoviewer_bb: rename infobar buttons 2015-12-15 08:15:17 +01:00
svenhoefer
e22d2d8a45 - keybind_setup/locale: timeshift isn't a movieplayer key 2015-12-15 08:15:17 +01:00
svenhoefer
ad3a2f701b - streaminfo: show movieplayer as source, when no webtv is running 2015-12-15 08:15:17 +01:00
svenhoefer
168c3832d0 - keybind-setup: fix assignable keys for movieplayer; ...
...timeshift isn't a movieplayer key.
2015-12-15 08:15:17 +01:00
Michael Liebmann
ab7e3956df - infoviewer_bb: fix display of red button in movieplayer mode 2015-12-15 08:15:17 +01:00
svenhoefer
fae6c5eb4c - deutsch.lokale: fix timeshift_pause translation 2015-12-15 08:15:17 +01:00
M. Liebmann
c5bcbf490c CLuaInstCurl::CurlDownload: Rework progress display
- Set Lua api version to 1.31
2015-12-15 00:34:13 +01:00
M. Liebmann
e3fdcaec99 CLuaInstCCText::CCTextScroll: Add Parameter 'pages'
- By pages parameter the number of pages can be specified
   to be scrolled
 - Set Lua api version to 1.30

Example:
	ct = ctext.new{...}
	...
	ct:scroll{dir="down", pages=2};
2015-12-14 22:34:53 +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
30ebe003f4 CLuaInstConfigFile: Add parameters & functions
- LuaConfigFileNew: Add parameter delimiter & saveDefaults
 - Add 'deleteKey' function
 - Set Lua api version to 1.27
2015-12-14 05:15:38 +01:00
M. Liebmann
5a7de075a2 lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'
- Set Lua api version to 1.26
2015-12-13 23:36:52 +01:00
M. Liebmann
5259e80b1c CLuaMenuFilebrowser::exec: Fix value handling when dirMode = false
- Add luaId to action function as parameter
 - Set Lua api version to 1.25
2015-12-13 23:36:52 +01:00
M. Liebmann
4f9158c2a9 CLuaInstance: Add class for using libcurl
- Add simple download function
 - Set Lua api version to 1.24

	parameter	typ		default
	----------------------------------------
	url		string		required
	o, outputfile	string		when empty then save to string
					as secund return value
	A, userAgent	string		empty
	v, verbose	bool		false
	s, silent	bool		false
	connectTimeout	number		20
	ipv4		bool		false
	ipv6		bool		false
	useProxy	bool		true (default)
	followRedir	bool		true
	maxRedirs	number		20

Example:
	-- simplest program call:
	-- ----------------------
	local curl = curl.new()
	local ret, data = curl:download{url="http://example.com", o="/tmp/test.txt"}
	if ret ~= CURL.OK then
		print("Error: " .. data)
	end

	-- or --

	local curl = curl.new()
	local ret, data = curl:download{url="http://example.com"}
	if ret == CURL.OK then
		-- downloaded data
		print(data)
		..
	else
		print("Error: " .. data)
	end
2015-12-13 23:36:52 +01:00
svenhoefer
8f810d52fa - moviebrowser: don't reload full movie archive after delete
Thanks to SatBaby and micha-bbg for support.
2015-12-12 22:09:09 +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
d45a98c363 CLuaInstance: Code cleaning luainstance.cpp/.h
- No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
5e6ad91efe CLuaInstance: Move misc functions in separate classes / files
- No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
b904febf6a CLuaInstance: Move msg box functions in separate classes / files
- hintbox
 - messagebox

 - No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
ad17505888 CLuaInstance: Move ccomponents functions in separate classes / files
- cwindow   (CComponentsWindow)
 - ctext     (CComponentsText)
 - cpicture  (CComponentsPicture)
 - signalbox (CSignalBox)

 - No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
e34d1c314f CLuaInstance: Move menue functions in separate classes / files
- No api changes, code only
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
f52ba5ba4a CLuaInstance: Move configfile functions in separate classes / files
- No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
1238b0c677 CLuaInstance: Move types, definitions & functions from
luainstance.cpp/.h to luainstance_helpers.cpp/.h

 - No api changes, code only
2015-12-12 10:42:28 +01:00
[CST] Focus
0aa71bae4d zapit/src/capmt.cpp: try to fix TS enable/disable 2015-12-09 17:05:40 +03:00
M. Liebmann
598ef23982 Fix neutrino build without '--enable-lua' 2015-12-08 20:23:49 +01:00
M. Liebmann
189b2e0fb0 Disable multimedia plugins and video functions...
...(movie player & upnp browser) when movieplayer is in use
2015-12-08 12:01:25 +01:00
M. Liebmann
d06594dd60 CLuaInstance::GetRevision: Add second return value as a string...
...for hardware identification

 - Set Lua api version to 1.22
2015-12-08 12:01:25 +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
558fea4ec4 CMoviePlayerGui: Creating an possibility to block restoreNeutrino()...
...from an external plugin

 - This better play playlists with plugins
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
M. Liebmann
d0cbf0985e CLuaInstance: Remove unnecessary function zapitSetStandby()
- Set Lua api version to 1.17
2015-12-08 12:01:25 +01:00
M. Liebmann
56a86e8d42 Sort slovak.locale 2015-12-08 12:01:25 +01:00
svenhoefer
68221e31b8 Revert "- movieplayer: enable videoformat and 4:3 switches; (C) martii"
This reverts commit a3ff096e06,
because keys was passed to neutrino handleMsg already.
So this pick was unnecessary.
2015-12-01 22:40:05 +01:00
svenhoefer
a3ff096e06 - movieplayer: enable videoformat and 4:3 switches; (C) martii 2015-12-01 21:04:13 +01:00
svenhoefer
829359b851 - movieplayer: enable neutrino main menu ...
... parts of this code is (C) martii
2015-12-01 21:02:15 +01:00
Jacek Jendrzej
423b1e0bc7 update slovak.locale (THX EnoSat) 2015-12-01 18:36:02 +01:00
svenhoefer
88bd3fa308 - moviebrowser: re-add missig comparator (msg ==) 2015-12-01 12:11:29 +01:00
svenhoefer
54e202cea8 - moviebrowser: use RC_left/right to switch display modes ...
... to get free volume keys, because these keys should change
volume only.
2015-12-01 08:17:56 +01:00
svenhoefer
c88fca2ec1 - movieplayer: change default key for TimeOSD() to RC_timeshift 2015-12-01 08:14:44 +01:00
M. Liebmann
482cf41adf CLuaInstance: Add script function paintVLine() & paintHLine()
- Set Lua api version to 1.16
2015-11-27 12:31:47 +01:00
M. Liebmann
76874040a3 CFBWindow: Add paintVLineRel() & paintHLineRel() for using...
...in external plugins
2015-11-27 12:31:47 +01:00
M. Liebmann
573eb7f7ad CLuaInstance::CPictureNew: When dx and dy = 0 then use...
...'NO_SCALE' modus for object creation (icon)

 - Set Lua api version to 1.15
2015-11-27 12:31:47 +01:00
M. Liebmann
550cfc853d CLuaInstance: Add script function saveScreen()/restoreScreen()
Example:
    local memID = n:saveScreen(x, y, w, h);
      ...
      ...
    n:restoreScreen(x, y, w, h, memID, delete);
     -- delete = true  => delete screen buffer
     -- delete = false => don't delete screen buffer

 - Set Lua api version to 1.14
2015-11-27 12:31:47 +01:00
M. Liebmann
895b781629 CFBWindow: Add saveScreen() & restoreScreen() for using...
...in external plugins
2015-11-27 12:31:47 +01:00