Commit Graph

7390 Commits

Author SHA1 Message Date
M. Liebmann
6f939800b6 CLuaInstance: Add multiple script functions for mute icon & volume
- Functions: enableMuteIcon, isMuted, AudioMute, setVolume, getVolume
 - This allows to save volume/mute status at plugin start
   and restore it on exit.

 - Set Lua api version to 1.35
2015-12-22 12:00:24 +01:00
M. Liebmann
ee73678d8f CLuaInstance: Add linux pthread support
- code ported from lua-llthreads2
   (https://github.com/moteus/lua-llthreads2)
 - code in neutrino integrated for use of lua neutrino api in threads
 - add thread::cancel() function

 - Set Lua api version to 1.34
2015-12-22 12:00:24 +01:00
svenhoefer
beb324c606 - moviebrowser: small changes in locales 2015-12-19 22:15:03 +01:00
svenhoefer
520660296b - personalize: add deactivated items too; ...
... visibility is controlled in personalization itself
2015-12-19 18:06:23 +01:00
Jacek Jendrzej
d6246131d2 src/gui/channellist.cpp fix possible segfault after edit mode (heap-buffer-overflow) 2015-12-19 20:18:49 +01:00
svenhoefer
beeeeb224a - moviebrowser: update and localize help box 2015-12-16 22:52:27 +01:00
svenhoefer
32410200c1 - movieplayer: add color keys to bookmark menu 2015-12-16 13:43:44 +01:00
defans
38e87e1612 - moviebrowser: fix order of color buttons 2015-12-16 12:44:57 +01:00
Jacek Jendrzej
c08a339484 src/gui/streaminfo2.cpp add show channel realname, thx Janus 2015-12-16 12:00:35 +01:00
svenhoefer
eb7c044b05 - movieplayer: show correct key in bookmark hints; smoother locales 2015-12-16 11:34:09 +01:00
M. Liebmann
37e8c328c5 CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33
2015-12-15 22:21:42 +01:00
Jacek Jendrzej
3a64f6c230 src/gui/streaminfo2.cpp show max 16 apids 2015-12-15 20:03:07 +01:00
Jacek Jendrzej
db2932fa7a similar patch to 9b2aec781c, thx max_10 2015-12-15 19:25:18 +01:00
Jacek Jendrzej
4b7b43f028 fix compil use good oprator 2015-12-15 17:03:14 +01:00
[CST] Focus
72efa20dfa neutrino.cpp: try to fix stopping by signal while playback in progress 2015-12-15 17:20:42 +03:00
svenhoefer
9b2aec781c - streaminfo: align background color; thx to max_10 2015-12-15 12:05:53 +01:00
M. Liebmann
e4de37f1bb CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control

 - Set Lua api version to 1.32
2015-12-15 11:45:48 +01:00
svenhoefer
109f3e5d9c - yWeb: add locale for timer type 2015-12-15 09:05:21 +01:00
svenhoefer
736343d35b - neutrino: press tv/radio key to return to plain tv/radio 2015-12-15 08:15:17 +01:00
svenhoefer
47eb2e27ec - infoviewer_bb: don't paint deactivated buttons 2015-12-15 08:15:17 +01:00
svenhoefer
a52a0e6c1b - infoviewer: do always show all buttons; enable is controlled by usermenu 2015-12-15 08:15:17 +01:00
svenhoefer
6fc8fb2bee - movieplayer: change usermenu call; use existing instance 2015-12-15 08:15:17 +01:00
svenhoefer
a50bd5bb97 - infoviewer_bb: fix text for green button in movieplayer mode 2015-12-15 08:15:17 +01:00
svenhoefer
22ad11ce77 - movieplayer: change default key for bookmark menu 2015-12-15 08:15:17 +01:00
svenhoefer
8c9c98b3c9 - locale: smoother locals for movieplayer keys 2015-12-15 08:15:17 +01:00
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