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,11 +51,12 @@ ...@@ -51,11 +51,12 @@
#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_shortcut( "luameta" ); add_submodule();
set_shortname( N_( "Lua Meta" ) ); add_shortcut( "luameta" );
set_description( _("Fetch metadata using lua scripts") ); set_shortname( N_( "Lua Meta" ) );
set_capability( "meta fetcher", 10 ); set_description( _("Fetch metadata using lua scripts") );
set_callbacks( E_(FindMeta), NULL ); set_capability( "meta fetcher", 10 );
set_callbacks( E_(FindMeta), NULL );
add_submodule(); add_submodule();
set_shortname( N_( "Lua Art" ) ); set_shortname( N_( "Lua Art" ) );
set_description( _("Fetch artwork using lua scripts") ); set_description( _("Fetch artwork 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