playlist_item_t * p_local_onelevel; /** < "Playlist" in ONELEVEL view */
playlist_item_t * p_ml_onelevel; /** < "Library" in ONELEVEL view */
- bool b_auto_preparse;
-
/* Runtime */
int i_sort; /**< Last sorting applied to the playlist */
int i_order; /**< Last ordering applied to the playlist */
pl_priv(p_playlist)->b_doing_ml = false;
- p_playlist->b_auto_preparse =
+ pl_priv(p_playlist)->b_auto_preparse =
var_CreateGetBool( p_playlist, "auto-preparse" ) ;
PL_LOCK; /* playlist_NodeCreate will check for it */
p_playlist->i_order = ORDER_NORMAL;
- b_save = p_playlist->b_auto_preparse;
- p_playlist->b_auto_preparse = false;
+ b_save = pl_priv(p_playlist)->b_auto_preparse;
+ pl_priv(p_playlist)->b_auto_preparse = false;
playlist_MLLoad( p_playlist );
- p_playlist->b_auto_preparse = true;
+ pl_priv(p_playlist)->b_auto_preparse = true;
vlc_object_set_destructor( p_playlist, playlist_Destructor );
/* Preparse if PREPARSE or SPREPARSE & not enough meta */
char *psz_artist = input_item_GetArtist( p_item_cat->p_input );
char *psz_album = input_item_GetAlbum( p_item_cat->p_input );
- if( p_playlist->b_auto_preparse &&
+ if( pl_priv(p_playlist)->b_auto_preparse &&
(i_mode & PLAYLIST_PREPARSE ||
( i_mode & PLAYLIST_SPREPARSE &&
( EMPTY_STR( psz_artist ) || ( EMPTY_STR( psz_album ) ) )