char *psz_utf8 = wxFromLocale( paths[i] );
if( event.GetInt() )
playlist_Add( p_playlist, psz_utf8, psz_utf8,
- PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO),
+ PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO) |
+ (i ? PLAYLIST_PREPARSE : 0 ),
PLAYLIST_END );
else
playlist_Add( p_playlist, psz_utf8, psz_utf8,
- PLAYLIST_APPEND, PLAYLIST_END );
+ PLAYLIST_APPEND | PLAYLIST_PREPARSE , PLAYLIST_END );
wxLocaleFree( psz_utf8 );
}
}
wxString path = p_dir_dialog->GetPath();
char *psz_utf8 = wxFromLocale( path );
playlist_Add( p_playlist, psz_utf8, psz_utf8,
- PLAYLIST_APPEND | (event.GetInt() ? PLAYLIST_GO : 0),
+ PLAYLIST_APPEND | (event.GetInt() ? PLAYLIST_GO : 0) |
+ (event.GetInt() ? 0 : PLAYLIST_PREPARSE ),
PLAYLIST_END );
wxLocaleFree( psz_utf8 );
}
}
}
- playlist_AddItem( p_playlist, p_item, PLAYLIST_APPEND, PLAYLIST_END );
+ playlist_AddItem( p_playlist, p_item, PLAYLIST_APPEND|PLAYLIST_PREPARSE,
+ PLAYLIST_END );
if( b_start )
{
case 1: /* missing input - most likely */
i_state = HTTPD_CLIENT_TLS_HS_IN;
break;
-
+
case 2: /* missing output */
i_state = HTTPD_CLIENT_TLS_HS_OUT;
break;
if( fd >= 0 )
{
httpd_client_t *cl;
- stats_UpdateInteger( host, "client_connections",
- 1 );
+ stats_UpdateInteger( host, "client_connections", 1 );
stats_UpdateInteger( host, "active_connections", 1 );
cl = httpd_ClientNew( fd, &sock, i_sock_size, p_tls );
p_tls = NULL;
p_playlist->status.i_status = PLAYLIST_RUNNING;
}
+ if( i_mode & PLAYLIST_PREPARSE )
+ {
+ playlist_PreparseEnqueue( p_playlist, &p_item->input );
+ }
+
vlc_mutex_unlock( &p_playlist->object_lock );
if( b_end == VLC_FALSE )
}
p_playlist->status.i_status = PLAYLIST_RUNNING;
}
+ if( i_mode & PLAYLIST_PREPARSE )
+ {
+ playlist_PreparseEnqueue( p_playlist, &p_item->input );
+ }
vlc_mutex_unlock( &p_playlist->object_lock );