Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a68a5ff4
Commit
a68a5ff4
authored
Apr 10, 2010
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Promote lua_intf as the main module
As it's the one with options
parent
82a40b02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
modules/misc/lua/vlc.c
modules/misc/lua/vlc.c
+21
-20
No files found.
modules/misc/lua/vlc.c
View file @
a68a5ff4
...
@@ -62,10 +62,23 @@
...
@@ -62,10 +62,23 @@
static
int
vlc_sd_probe_Open
(
vlc_object_t
*
);
static
int
vlc_sd_probe_Open
(
vlc_object_t
*
);
vlc_module_begin
()
vlc_module_begin
()
set_shortname
(
N_
(
"Lua Art"
)
)
set_shortname
(
N_
(
"Lua Interface Module"
)
)
set_description
(
N_
(
"Fetch artwork using lua scripts"
)
)
set_description
(
N_
(
"Interfaces implemented using lua scripts"
)
)
set_capability
(
"art finder"
,
10
)
add_shortcut
(
"luaintf"
)
set_callbacks
(
FindArt
,
NULL
)
add_shortcut
(
"luahttp"
)
add_shortcut
(
"http"
)
add_shortcut
(
"luatelnet"
)
add_shortcut
(
"telnet"
)
add_shortcut
(
"luahotkeys"
)
/* add_shortcut( "hotkeys" ) */
set_capability
(
"interface"
,
0
)
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_CONTROL
)
add_string
(
"lua-intf"
,
"dummy"
,
NULL
,
INTF_TEXT
,
INTF_LONGTEXT
,
false
)
add_string
(
"lua-config"
,
""
,
NULL
,
CONFIG_TEXT
,
CONFIG_LONGTEXT
,
false
)
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
add_submodule
()
add_submodule
()
set_shortname
(
N_
(
"Lua Meta Fetcher"
)
)
set_shortname
(
N_
(
"Lua Meta Fetcher"
)
)
...
@@ -81,8 +94,6 @@ vlc_module_begin ()
...
@@ -81,8 +94,6 @@ vlc_module_begin ()
add_submodule
()
add_submodule
()
add_shortcut
(
"luaplaylist"
)
add_shortcut
(
"luaplaylist"
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_DEMUX
)
set_shortname
(
N_
(
"Lua Playlist"
)
)
set_shortname
(
N_
(
"Lua Playlist"
)
)
set_description
(
N_
(
"Lua Playlist Parser Interface"
)
)
set_description
(
N_
(
"Lua Playlist Parser Interface"
)
)
set_capability
(
"demux"
,
2
)
set_capability
(
"demux"
,
2
)
...
@@ -96,20 +107,10 @@ vlc_module_begin ()
...
@@ -96,20 +107,10 @@ vlc_module_begin ()
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"Lua Interface Module"
)
)
set_shortname
(
N_
(
"Lua Art"
)
)
add_shortcut
(
"luaintf"
)
set_description
(
N_
(
"Fetch artwork using lua scripts"
)
)
add_shortcut
(
"luahttp"
)
set_capability
(
"art finder"
,
10
)
add_shortcut
(
"http"
)
set_callbacks
(
FindArt
,
NULL
)
add_shortcut
(
"luatelnet"
)
add_shortcut
(
"telnet"
)
add_shortcut
(
"luahotkeys"
)
/* add_shortcut( "hotkeys" ) */
set_capability
(
"interface"
,
0
)
add_string
(
"lua-intf"
,
"dummy"
,
NULL
,
INTF_TEXT
,
INTF_LONGTEXT
,
false
)
add_string
(
"lua-config"
,
""
,
NULL
,
CONFIG_TEXT
,
CONFIG_LONGTEXT
,
false
)
set_callbacks
(
Open_LuaIntf
,
Close_LuaIntf
)
add_submodule
()
add_submodule
()
set_shortname
(
N_
(
"Lua Extension"
)
)
set_shortname
(
N_
(
"Lua Extension"
)
)
...
...
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