Commit Graph

7197 Commits

Author SHA1 Message Date
Michael Liebmann
01a7c0b58b CLuaInstance: Fix and unified script function calls
- No api changes, code only


Origin commit data
------------------
Commit: 9e331ee4e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-23 (Wed, 23 Dec 2015)
2015-12-23 08:29:15 +01:00
vanhofen
659124d646 moviebrowser: fix overlapped menus when de/activating drives
Origin commit data
------------------
Commit: 59261b1cf6
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-22 (Tue, 22 Dec 2015)

Origin message was:
------------------
- moviebrowser: fix overlapped menus when de/activating drives
2015-12-22 21:46:46 +01:00
Thilo Graf
5efa980977 personalize.cpp: add doc for disable conditions
Origin commit data
------------------
Commit: aec64e8c6c
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-22 (Tue, 22 Dec 2015)
2015-12-22 13:14:18 +01:00
vanhofen
70170c6791 menue: fix format warning 'too many arguments'
Origin commit data
------------------
Commit: 92abb85a9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: fix format warning 'too many arguments'
2015-12-22 13:14:18 +01:00
vanhofen
02d4c8e674 menue: don't paint hotkey icons on deactivated items; use dummy icon
Origin commit data
------------------
Commit: 809274d750
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: don't paint hotkey icons on deactivated items; use dummy icon
2015-12-22 13:14:18 +01:00
Thilo Graf
e5e740fcf7 Main Menu: try to add dynamic possibility to disable items on runtime
The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

 DCOND_MODE_NONE as default

 DCOND_MODE_TV
 DCOND_MODE_RADIO
 DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
 ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch


Origin commit data
------------------
Commit: 1f95f38d32
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)

Origin message was:
------------------
Main Menu: try to add dynamic possibility to disable items on runtime

The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

 DCOND_MODE_NONE as default

 DCOND_MODE_TV
 DCOND_MODE_RADIO
 DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
 ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch
2015-12-22 13:14:18 +01:00
Michael Liebmann
605506123d CLuaInstCurl: Fix compiler warning
Origin commit data
------------------
Commit: 6b6dff36d6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-22 (Tue, 22 Dec 2015)
2015-12-22 13:14:18 +01:00
Michael Liebmann
231bdc4579 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


Origin commit data
------------------
Commit: 6f939800b6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-22 (Tue, 22 Dec 2015)

Origin message was:
------------------
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
Michael Liebmann
8767e078f2 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


Origin commit data
------------------
Commit: ee73678d8f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-22 (Tue, 22 Dec 2015)

Origin message was:
------------------
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
vanhofen
f5fd376144 moviebrowser: small changes in locales
Origin commit data
------------------
Commit: beb324c606
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-19 (Sat, 19 Dec 2015)

Origin message was:
------------------
- moviebrowser: small changes in locales
2015-12-19 22:15:03 +01:00
vanhofen
bbaf7390ee personalize: add deactivated items too; ...
... visibility is controlled in personalization itself


Origin commit data
------------------
Commit: 520660296b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-17 (Thu, 17 Dec 2015)

Origin message was:
------------------
- personalize: add deactivated items too; ...

... visibility is controlled in personalization itself
2015-12-19 18:06:23 +01:00
Jacek Jendrzej
339770d0ca src/gui/channellist.cpp fix possible segfault after edit mode (heap-buffer-overflow)
Origin commit data
------------------
Commit: d6246131d2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-19 (Sat, 19 Dec 2015)
2015-12-19 20:18:49 +01:00
vanhofen
5bd0e59340 moviebrowser: update and localize help box
Origin commit data
------------------
Commit: beeeeb224a
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-16 (Wed, 16 Dec 2015)

Origin message was:
------------------
- moviebrowser: update and localize help box
2015-12-16 22:52:27 +01:00
vanhofen
be4b8e1880 movieplayer: add color keys to bookmark menu
Origin commit data
------------------
Commit: 32410200c1
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-16 (Wed, 16 Dec 2015)

Origin message was:
------------------
- movieplayer: add color keys to bookmark menu
2015-12-16 13:43:44 +01:00
defans
d07f3787ab moviebrowser: fix order of color buttons
Origin commit data
------------------
Commit: 38e87e1612
Author: defans <defans@bluepeercrew.us>
Date: 2015-12-16 (Wed, 16 Dec 2015)

Origin message was:
------------------
- moviebrowser: fix order of color buttons
2015-12-16 12:44:57 +01:00
Jacek Jendrzej
436764b05d src/gui/streaminfo2.cpp add show channel realname, thx Janus
Origin commit data
------------------
Commit: c08a339484
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-16 (Wed, 16 Dec 2015)
2015-12-16 12:00:35 +01:00
vanhofen
401f69bcc5 movieplayer: show correct key in bookmark hints; smoother locales
Origin commit data
------------------
Commit: eb7c044b05
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-16 (Wed, 16 Dec 2015)

Origin message was:
------------------
- movieplayer: show correct key in bookmark hints; smoother locales
2015-12-16 11:34:09 +01:00
Michael Liebmann
d0f120ffe5 CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33


Origin commit data
------------------
Commit: 37e8c328c5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 22:21:42 +01:00
Jacek Jendrzej
f7cd956b50 src/gui/streaminfo2.cpp show max 16 apids
Origin commit data
------------------
Commit: 3a64f6c230
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 20:03:07 +01:00
Jacek Jendrzej
a7ef24619c similar patch to 60ba7ef468, thx max_10
Origin commit data
------------------
Commit: db2932fa7a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 19:25:18 +01:00
Jacek Jendrzej
c10086d3ae fix compil use good oprator
Origin commit data
------------------
Commit: 4b7b43f028
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 17:03:14 +01:00
[CST] Focus
c1bf465d47 neutrino.cpp: try to fix stopping by signal while playback in progress
Origin commit data
------------------
Commit: 72efa20dfa
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 17:20:42 +03:00
vanhofen
60ba7ef468 streaminfo: align background color; thx to max_10
Origin commit data
------------------
Commit: 9b2aec781c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-15 (Tue, 15 Dec 2015)

Origin message was:
------------------
- streaminfo: align background color; thx to max_10
2015-12-15 12:05:53 +01:00
Michael Liebmann
e6aafda6fd CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control

 - Set Lua api version to 1.32


Origin commit data
------------------
Commit: e4de37f1bb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 11:45:48 +01:00
vanhofen
6653c02fd0 yWeb: add locale for timer type
Origin commit data
------------------
Commit: 109f3e5d9c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-15 (Tue, 15 Dec 2015)

Origin message was:
------------------
- yWeb: add locale for timer type
2015-12-15 09:05:21 +01:00
vanhofen
309a8b3af0 neutrino: press tv/radio key to return to plain tv/radio
Origin commit data
------------------
Commit: 736343d35b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- neutrino: press tv/radio key to return to plain tv/radio
2015-12-15 08:15:17 +01:00
vanhofen
a98f6bd1da infoviewer_bb: don't paint deactivated buttons
Origin commit data
------------------
Commit: 47eb2e27ec
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer_bb: don't paint deactivated buttons
2015-12-15 08:15:17 +01:00
vanhofen
778cac23fc infoviewer: do always show all buttons; enable is controlled by usermenu
Origin commit data
------------------
Commit: a52a0e6c1b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer: do always show all buttons; enable is controlled by usermenu
2015-12-15 08:15:17 +01:00
vanhofen
a7bfe43b5e movieplayer: change usermenu call; use existing instance
Origin commit data
------------------
Commit: 6fc8fb2bee
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- movieplayer: change usermenu call; use existing instance
2015-12-15 08:15:17 +01:00
vanhofen
fec0d26c75 infoviewer_bb: fix text for green button in movieplayer mode
Origin commit data
------------------
Commit: a50bd5bb97
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer_bb: fix text for green button in movieplayer mode
2015-12-15 08:15:17 +01:00
vanhofen
1652d0201a movieplayer: change default key for bookmark menu
Origin commit data
------------------
Commit: 22ad11ce77
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- movieplayer: change default key for bookmark menu
2015-12-15 08:15:17 +01:00
vanhofen
af82b7ad6e locale: smoother locals for movieplayer keys
Origin commit data
------------------
Commit: 8c9c98b3c9
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- locale: smoother locals for movieplayer keys
2015-12-15 08:15:17 +01:00
vanhofen
01dd5eedf9 user_menue: disable some items in movieplayer mode
Origin commit data
------------------
Commit: 25e1f5bc9e
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- user_menue: disable some items in movieplayer mode
2015-12-15 08:15:17 +01:00
vanhofen
c77b50253e movieplayer: allow usermenu, when colorkeys not assigned
Origin commit data
------------------
Commit: 0dd22ffd5d
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- movieplayer: allow usermenu, when colorkeys not assigned
2015-12-15 08:15:17 +01:00
vanhofen
fc228752b7 infoviewer_bb: use key-assignment from movieplayer
Origin commit data
------------------
Commit: 4c7cea95e9
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer_bb: use key-assignment from movieplayer
2015-12-15 08:15:17 +01:00
vanhofen
106aec4bbb infoviewer_bb: rename infobar buttons
Origin commit data
------------------
Commit: 7ccb57548b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer_bb: rename infobar buttons
2015-12-15 08:15:17 +01:00
vanhofen
b241ff1bf0 keybind_setup/locale: timeshift isn't a movieplayer key
Origin commit data
------------------
Commit: e22d2d8a45
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- keybind_setup/locale: timeshift isn't a movieplayer key
2015-12-15 08:15:17 +01:00
vanhofen
3c3c33c5d2 streaminfo: show movieplayer as source, when no webtv is running
Origin commit data
------------------
Commit: ad3a2f701b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- streaminfo: show movieplayer as source, when no webtv is running
2015-12-15 08:15:17 +01:00
vanhofen
e08c3ad51a keybind-setup: fix assignable keys for movieplayer; ...
...timeshift isn't a movieplayer key.


Origin commit data
------------------
Commit: 168c3832d0
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- keybind-setup: fix assignable keys for movieplayer; ...

...timeshift isn't a movieplayer key.
2015-12-15 08:15:17 +01:00
Michael Liebmann
89e63c6be0 infoviewer_bb: fix display of red button in movieplayer mode
Origin commit data
------------------
Commit: ab7e3956df
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- infoviewer_bb: fix display of red button in movieplayer mode
2015-12-15 08:15:17 +01:00
vanhofen
99766b6ae7 deutsch.lokale: fix timeshift_pause translation
Origin commit data
------------------
Commit: fae6c5eb4c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- deutsch.lokale: fix timeshift_pause translation
2015-12-15 08:15:17 +01:00
Michael Liebmann
ea55ab70e1 CLuaInstCurl::CurlDownload: Rework progress display
- Set Lua api version to 1.31


Origin commit data
------------------
Commit: c5bcbf490c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 00:34:13 +01:00
Michael Liebmann
af2694da72 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};


Origin commit data
------------------
Commit: e3fdcaec99
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
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
Michael Liebmann
f8437b80cb 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(...)


Origin commit data
------------------
Commit: ed26f2ea05
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
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
Michael Liebmann
47442f6f35 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


Origin commit data
------------------
Commit: 473af7b2ea
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)
2015-12-14 22:34:53 +01:00
Michael Liebmann
6715abcdc8 CLuaInstConfigFile: Add parameters & functions
- LuaConfigFileNew: Add parameter delimiter & saveDefaults
 - Add 'deleteKey' function
 - Set Lua api version to 1.27


Origin commit data
------------------
Commit: 30ebe003f4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)
2015-12-14 05:15:38 +01:00
Michael Liebmann
a094a41f00 lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'
- Set Lua api version to 1.26


Origin commit data
------------------
Commit: 5a7de075a2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-13 23:36:52 +01:00
Michael Liebmann
dcdf1a6b27 CLuaMenuFilebrowser::exec: Fix value handling when dirMode = false
- Add luaId to action function as parameter
 - Set Lua api version to 1.25


Origin commit data
------------------
Commit: 5259e80b1c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-13 23:36:52 +01:00
Michael Liebmann
708d737000 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


Origin commit data
------------------
Commit: 4f9158c2a9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-13 23:36:52 +01:00
vanhofen
44378948a3 moviebrowser: don't reload full movie archive after delete
Thanks to SatBaby and micha-bbg for support.


Origin commit data
------------------
Commit: 8f810d52fa
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-12 (Sat, 12 Dec 2015)

Origin message was:
------------------
- 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