Add a new playlist module whose job is to output pf_readdir modules items to the...
[vlc.git] / modules / demux / playlist / playlist.c
index 0b4a053..076d4fe 100644 (file)
@@ -145,6 +145,11 @@ vlc_module_begin ()
         add_shortcut( "playlist", "zpl" )
         set_capability( "demux", 10 )
         set_callbacks( Import_ZPL, Close_ZPL )
         add_shortcut( "playlist", "zpl" )
         set_capability( "demux", 10 )
         set_callbacks( Import_ZPL, Close_ZPL )
+    add_submodule ()
+        set_description( N_("Directory import") )
+        add_shortcut( "playlist", "directory" )
+        set_capability( "demux", 10 )
+        set_callbacks( Import_Dir, Close_Dir )
 vlc_module_end ()
 
 int Control(demux_t *demux, int query, va_list args)
 vlc_module_end ()
 
 int Control(demux_t *demux, int query, va_list args)