Add a module to export the playlist in HTML (feature requested on the forum).
[vlc.git] / modules / misc / playlist / export.c
index 498e6a9..7b05a4c 100644 (file)
@@ -36,6 +36,7 @@
  ***************************************************************************/
 int Export_M3U    ( vlc_object_t *p_intf );
 int Export_Old    ( vlc_object_t *p_intf );
+int Export_HTML   ( vlc_object_t *p_intf );
 int xspf_export_playlist( vlc_object_t *p_intf );
 
 /*****************************************************************************
@@ -48,19 +49,25 @@ vlc_module_begin();
     add_submodule();
         set_description( N_("M3U playlist exporter") );
         add_shortcut( "export-m3u" );
-        set_capability( "playlist export" , 0);
+        set_capability( "playlist export" , 0 );
         set_callbacks( Export_M3U , NULL );
 
     add_submodule();
         set_description( N_("Old playlist exporter") );
         add_shortcut( "export-old" );
-        set_capability( "playlist export" , 0);
+        set_capability( "playlist export" , 0 );
         set_callbacks( Export_Old , NULL );
 
     add_submodule();
         set_description( N_("XSPF playlist export") );
         add_shortcut( "export-xspf" );
-        set_capability( "playlist export" , 0);
+        set_capability( "playlist export" , 0 );
         set_callbacks( xspf_export_playlist , NULL );
 
+    add_submodule();
+        set_description( N_("HTML playlist export") );
+        add_shortcut( "export-html" );
+        set_capability( "playlist export", 0 );
+        set_callbacks( Export_HTML, NULL );
+
 vlc_module_end();