Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
70f556e4
Commit
70f556e4
authored
Dec 03, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: document the use of -I luaintf instead of -I lua
parent
1630833f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
share/lua/intf/cli.lua
share/lua/intf/cli.lua
+1
-1
share/lua/intf/dummy.lua
share/lua/intf/dummy.lua
+2
-2
share/lua/intf/dumpmeta.lua
share/lua/intf/dumpmeta.lua
+1
-1
share/lua/intf/luac.lua
share/lua/intf/luac.lua
+1
-1
No files found.
share/lua/intf/cli.lua
View file @
70f556e4
...
...
@@ -39,7 +39,7 @@ description=
vlc -I cli --lua-config "cli={hosts={'*console','localhost:4212','telnet://localhost:5678'}}"
Note:
-I cli and -I luacli are aliases for -I lua --lua-intf cli
-I cli and -I luacli are aliases for -I lua
intf
--lua-intf cli
Configuration options setable throught the --lua-config option are:
* hosts: A list of hosts to listen on.
...
...
share/lua/intf/dummy.lua
View file @
70f556e4
...
...
@@ -4,8 +4,8 @@ msg = [[
This is the `dummy' VLC Lua interface module.
Please specify a VLC Lua interface to load with the --lua-intf option.
VLC Lua interface modules include: `rc', `telnet' and `http'.
For example: vlc -I lua --lua-intf rc
You can also use the alternate syntax: vlc -I "lua{intf=rc}"
For example: vlc -I lua
intf
--lua-intf rc
You can also use the alternate syntax: vlc -I "lua
intf
{intf=rc}"
See share/lua/intf/README.txt for more information about lua interface modules.]]
for
line
in
string.gmatch
(
msg
,
"([^\n]+)\n*"
)
do
...
...
share/lua/intf/dumpmeta.lua
View file @
70f556e4
...
...
@@ -22,7 +22,7 @@ dumpmeta.lua: dump a file's meta data on stdout/stderr
--]==========================================================================]
--[[ to dump meta data information in the debug output, run:
vlc -I lua --lua-intf dumpmeta coolmusic.mp3
vlc -I lua
intf
--lua-intf dumpmeta coolmusic.mp3
Additional options can improve performance and output readability:
-V dummy -A dummy --no-video-title --no-media-library --verbose-objects +lua,-all -v=0
--]]
...
...
share/lua/intf/luac.lua
View file @
70f556e4
...
...
@@ -24,7 +24,7 @@
usage
=
[[
To compile a lua script to bytecode (luac) run:
vlc -I lua --lua-intf --lua-config 'luac={input="file.lua",output="file.luac"}'
vlc -I lua
intf
--lua-intf --lua-config 'luac={input="file.lua",output="file.luac"}'
Output will be similar to that of the luac command line tool provided with lua with the following arguments:
luac -o file.luac file.lua
]]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment