p_playlist->i_sort = SORT_ID;
p_playlist->i_order = ORDER_NORMAL;
+
+ /* Interaction
+ * Init the interaction here, as playlist_MLLoad could trigger
+ * interaction init */
+ p_playlist->p_interaction = NULL;
+
b_save = p_playlist->b_auto_preparse;
p_playlist->b_auto_preparse = VLC_FALSE;
playlist_MLLoad( p_playlist );
vlc_mutex_init( p_playlist, &p_playlist->p_stats->lock );
p_playlist->p_stats_computer = NULL;
- // Interaction
- p_playlist->p_interaction = NULL;
-
// Preparse
p_playlist->p_preparse = vlc_object_create( p_playlist,
sizeof( playlist_preparse_t ) );