int i_current_index; /**< Index in current array */
/** Reset current item array */
bool b_reset_currently_playing;
- mtime_t last_rebuild_date;
int i_last_playlist_id; /**< Last id to an item */
p_playlist->i_current_index = 0;
p_playlist->b_reset_currently_playing = true;
- p_playlist->last_rebuild_date = 0;
+ pl_priv(p_playlist)->last_rebuild_date = 0;
pl_priv(p_playlist)->b_tree = var_CreateGetBool( p_playlist, "playlist-tree" );
PL_ASSERT_LOCKED;
if( p_playlist->b_reset_currently_playing &&
- mdate() - p_playlist->last_rebuild_date > 30000 ) // 30 ms
+ mdate() - pl_priv(p_playlist)->last_rebuild_date > 30000 ) // 30 ms
{
ResetCurrentlyPlaying( p_playlist, var_GetBool( p_playlist, "random" ),
get_current_status_item( p_playlist ) );
- p_playlist->last_rebuild_date = mdate();
+ pl_priv(p_playlist)->last_rebuild_date = mdate();
}
check_input: