[vlc-commits] commit: Promote lua_intf as the main module (Christophe Mutricy )
git at videolan.org
git at videolan.org
Mon Apr 12 00:58:14 CEST 2010
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Apr 10 22:31:53 2010 +0100| [a68a5ff4f7161e5681f0426868d477ae2acf78c6] | committer: Christophe Mutricy
Promote lua_intf as the main module
As it's the one with options
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a68a5ff4f7161e5681f0426868d477ae2acf78c6
---
modules/misc/lua/vlc.c | 41 +++++++++++++++++++++--------------------
1 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 5b9b29e..f7fb5bd 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -62,10 +62,23 @@
static int vlc_sd_probe_Open( vlc_object_t * );
vlc_module_begin ()
- set_shortname( N_( "Lua Art" ) )
- set_description( N_("Fetch artwork using lua scripts") )
- set_capability( "art finder", 10 )
- set_callbacks( FindArt, NULL )
+ set_shortname( N_("Lua Interface Module") )
+ set_description( N_("Interfaces implemented using lua scripts") )
+ add_shortcut( "luaintf" )
+ 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 ()
set_shortname( N_( "Lua Meta Fetcher" ) )
@@ -81,8 +94,6 @@ vlc_module_begin ()
add_submodule ()
add_shortcut( "luaplaylist" )
- set_category( CAT_INPUT )
- set_subcategory( SUBCAT_INPUT_DEMUX )
set_shortname( N_("Lua Playlist") )
set_description( N_("Lua Playlist Parser Interface") )
set_capability( "demux", 2 )
@@ -96,20 +107,10 @@ vlc_module_begin ()
set_callbacks( Open_LuaIntf, Close_LuaIntf )
add_submodule ()
- set_description( N_("Lua Interface Module") )
- add_shortcut( "luaintf" )
- add_shortcut( "luahttp" )
- add_shortcut( "http" )
- 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 )
+ set_shortname( N_( "Lua Art" ) )
+ set_description( N_("Fetch artwork using lua scripts") )
+ set_capability( "art finder", 10 )
+ set_callbacks( FindArt, NULL )
add_submodule ()
set_shortname( N_("Lua Extension") )
More information about the vlc-commits
mailing list