- p_sys->p_preparser = NULL;
- p_sys->p_fetcher = NULL;
- PL_UNLOCK;
-
- if( p_preparser )
- playlist_preparser_Delete( p_preparser );
- if( p_fetcher )
- playlist_fetcher_Delete( p_fetcher );
-
- /* release input ressources */
- if( p_sys->p_input_ressource )
- input_ressource_Delete( p_sys->p_input_ressource );
- p_sys->p_input_ressource = NULL;
-
- /* */
- playlist_MLDump( p_playlist );
+ if( var_InheritBool( p_playlist, "media-library" ) )
+ playlist_MLDump( p_playlist );