p_playlist->pp_random[j] = p_tmp;
}
p_playlist->b_reset_random = VLC_FALSE;
+ PL_DEBUG( "random rebuilt, have %i items", p_playlist->i_random );
}
else
{
const char *psz_string )
{
int i;
+ p_playlist->b_reset_random = VLC_TRUE;
for( i = 0 ; i< p_root->i_children ; i ++ )
{
playlist_item_t *p_item = p_root->pp_children[i];
while( 1 )
{
p_next = playlist_GetNextLeaf( p_playlist, p_node,
- p_next, VLC_TRUE, VLC_TRUE );
+ p_next, VLC_TRUE, VLC_FALSE );
if( p_next )
INSERT_ELEM( *ppp_items, i_count, i_count, p_next );
else