]> git.sesse.net Git - vlc/commitdiff
Changes to the lua module's declaration: add luahttp alias and don't make it accept...
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 24 Nov 2007 18:59:50 +0000 (18:59 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 24 Nov 2007 18:59:50 +0000 (18:59 +0000)
modules/misc/lua/vlc.c

index 12b8870473acd9fdd857662fbcc5c5f706117461..634f21c8972ecc704029acacd298cb3d996978ae 100644 (file)
 #define CONFIG_LONGTEXT N_("Lua interface configuration string. Format is: '[\"<interface module name>\"] = { <option> = <value>, ...}, ...'.")
 
 vlc_module_begin();
-    add_shortcut( "luameta" );
-    set_shortname( N_( "Lua Meta" ) );
-    set_description( _("Fetch metadata using lua scripts") );
-    set_capability( "meta fetcher", 10 );
-    set_callbacks( E_(FindMeta), NULL );
+    add_submodule();
+        add_shortcut( "luameta" );
+        set_shortname( N_( "Lua Meta" ) );
+        set_description( _("Fetch metadata using lua scripts") );
+        set_capability( "meta fetcher", 10 );
+        set_callbacks( E_(FindMeta), NULL );
     add_submodule();
         set_shortname( N_( "Lua Art" ) );
         set_description( _("Fetch artwork using lua scripts") );
@@ -77,6 +78,8 @@ vlc_module_begin();
         /* add_shortcut( "hotkeys" ); */
         add_shortcut( "luatelnet" );
         /* add_shortcut( "telnet" ); */
+        add_shortcut( "luahttp" );
+        /* add_shortcut( "http" ); */
         set_description( _("Lua Interface Module") );
         set_capability( "interface", 0 );
         add_string( "lua-intf", "dummy", NULL,