if( p_export_root == NULL ) return VLC_EGENERIC;
- msg_Info( p_playlist, "saving %s to file %s",
+ msg_Dbg( p_playlist, "saving %s to file %s",
p_export_root->p_input->psz_name, psz_filename );
/* Prepare the playlist_export_t structure */
p_playlist->p_private = (void *)p_export;
/* And call the module ! All work is done now */
- p_module = module_Need( p_playlist, "playlist export", psz_type, true);
+ p_module = module_need( p_playlist, "playlist export", psz_type, true);
if( !p_module )
{
msg_Warn( p_playlist, "exporting playlist failed" );
vlc_object_unlock( p_playlist );
return VLC_ENOOBJ;
}
- module_Unneed( p_playlist , p_module );
+ module_unneed( p_playlist , p_module );
/* Clean up */
fclose( p_export->p_file );
vlc_event_attach( &p_input->event_manager, vlc_InputItemSubItemAdded,
input_item_subitem_added, p_playlist );
- p_playlist->b_doing_ml = true;
+ pl_priv(p_playlist)->b_doing_ml = true;
PL_UNLOCK;
stats_TimerStart( p_playlist, "ML Load", STATS_TIMER_ML_LOAD );
stats_TimerStop( p_playlist,STATS_TIMER_ML_LOAD );
PL_LOCK;
- p_playlist->b_doing_ml = false;
+ pl_priv(p_playlist)->b_doing_ml = false;
PL_UNLOCK;
vlc_event_detach( &p_input->event_manager, vlc_InputItemSubItemAdded,