- 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
- 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
- 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};
- 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(...)
- 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
- 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
- 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.