+ return;
+ }
+
+ // Secondary Preparse
+ p_playlist->p_fetcher = vlc_object_create( p_playlist,
+ sizeof( playlist_fetcher_t ) );
+ if( !p_playlist->p_fetcher )
+ {
+ msg_Err( p_playlist, "unable to create secondary preparser" );
+ vlc_object_destroy( p_playlist );
+ return;
+ }
+ p_playlist->p_fetcher->i_waiting = 0;
+ p_playlist->p_fetcher->p_waiting = NULL;
+ p_playlist->p_fetcher->i_art_policy = var_CreateGetInteger( p_playlist,
+ "album-art" );
+
+ vlc_object_attach( p_playlist->p_fetcher, p_playlist );
+ if( vlc_thread_create( p_playlist->p_fetcher,
+ "fetcher",
+ RunFetcher,
+ VLC_THREAD_PRIORITY_LOW, VLC_TRUE ) )
+ {
+ msg_Err( p_playlist, "cannot spawn secondary preparse thread" );
+ vlc_object_detach( p_playlist->p_fetcher );
+ vlc_object_destroy( p_playlist->p_fetcher );
+ return;