Commit 7d7455f9 authored by Antoine Cellerier's avatar Antoine Cellerier

Changes to the lua module's declaration: add luahttp alias and don't make it...

Changes to the lua module's declaration: add luahttp alias and don't make it accept the luameta alias for all capabilities.
parent 90fbce43
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#define CONFIG_LONGTEXT N_("Lua interface configuration string. Format is: '[\"<interface module name>\"] = { <option> = <value>, ...}, ...'.") #define CONFIG_LONGTEXT N_("Lua interface configuration string. Format is: '[\"<interface module name>\"] = { <option> = <value>, ...}, ...'.")
vlc_module_begin(); vlc_module_begin();
add_submodule();
add_shortcut( "luameta" ); add_shortcut( "luameta" );
set_shortname( N_( "Lua Meta" ) ); set_shortname( N_( "Lua Meta" ) );
set_description( _("Fetch metadata using lua scripts") ); set_description( _("Fetch metadata using lua scripts") );
...@@ -77,6 +78,8 @@ vlc_module_begin(); ...@@ -77,6 +78,8 @@ vlc_module_begin();
/* add_shortcut( "hotkeys" ); */ /* add_shortcut( "hotkeys" ); */
add_shortcut( "luatelnet" ); add_shortcut( "luatelnet" );
/* add_shortcut( "telnet" ); */ /* add_shortcut( "telnet" ); */
add_shortcut( "luahttp" );
/* add_shortcut( "http" ); */
set_description( _("Lua Interface Module") ); set_description( _("Lua Interface Module") );
set_capability( "interface", 0 ); set_capability( "interface", 0 );
add_string( "lua-intf", "dummy", NULL, add_string( "lua-intf", "dummy", NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment