]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
Auto load and save media library (Closes:#433)
[vlc] / include / vlc_playlist.h
index cd326927adb4ec1161c7bebee25c657c4a57cb2f..7ace610fda8d547588f6f9f7888feddbfdb5f319 100644 (file)
@@ -142,6 +142,9 @@ struct playlist_t
     vlc_bool_t            b_always_tree;/**< Always display as tree */
     vlc_bool_t            b_never_tree;/**< Never display as tree */
 
+    vlc_bool_t            b_doing_ml; /**< Doing media library stuff, */
+                                      /*get quicker */
+
     /* Runtime */
     input_thread_t *      p_input;  /**< the input thread associated
                                      * with the current item */
@@ -260,6 +263,8 @@ VLC_EXPORT( int,  playlist_RecursiveNodeSort, ( playlist_t *, playlist_item_t *,
 /* Load/Save */
 VLC_EXPORT( int,  playlist_Import, ( playlist_t *, const char *, playlist_item_t *, vlc_bool_t ) );
 VLC_EXPORT( int,  playlist_Export, ( playlist_t *, const char *, playlist_item_t *, const char * ) );
+int playlist_MLLoad( playlist_t *p_playlist );
+int playlist_MLDump( playlist_t *p_playlist );
 
 /********************************************************
  * Item management