Commit a7f90221 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/meta.c: Make sure the artwork cache is used.

parent 32c965ed
...@@ -162,12 +162,13 @@ int input_ArtFind( playlist_t *p_playlist, input_item_t *p_item ) ...@@ -162,12 +162,13 @@ int input_ArtFind( playlist_t *p_playlist, input_item_t *p_item )
free( psz_artist ); free( psz_artist );
free( psz_album ); free( psz_album );
char *psz_arturl = input_item_GetArtURL( p_item );
input_FindArtInCache( p_playlist, p_item ); input_FindArtInCache( p_playlist, p_item );
char *psz_arturl = input_item_GetArtURL( p_item );
if( !EMPTY_STR( psz_arturl ) ) if( !EMPTY_STR( psz_arturl ) )
{ {
free( psz_arturl ); free( psz_arturl );
return 0; return 0; /* Art is in cache, no need to go further */
} }
free( psz_arturl ); free( psz_arturl );
......
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