Commit c4a29432 authored by Rafaël Carré's avatar Rafaël Carré

playlist: don't request art nor set "playlist-current" for directory: & vlc: URIs

parent 9d0f735d
......@@ -466,6 +466,15 @@ int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
DEFAULT_INPUT_ACTIVITY );
p_playlist->p_input = input_CreateThread( p_playlist, p_input );
char *psz_uri = input_item_GetURI( p_item->p_input );
if( psz_uri && ( !strncmp( psz_uri, "directory:", 10 ) ||
!strncmp( psz_uri, "vlc:", 4 ) ) )
{
free( psz_uri );
return VLC_SUCCESS;
}
free( psz_uri );
if( p_playlist->p_fetcher->i_art_policy == ALBUM_ART_WHEN_PLAYED )
{
vlc_bool_t b_has_art;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment