From a7f90221441d934149b998e3c4b520d641b00b68 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 22 Aug 2007 15:21:38 +0000 Subject: [PATCH] input/meta.c: Make sure the artwork cache is used. --- src/input/meta.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/meta.c b/src/input/meta.c index 657f853317..d85692defe 100644 --- a/src/input/meta.c +++ b/src/input/meta.c @@ -162,12 +162,13 @@ int input_ArtFind( playlist_t *p_playlist, input_item_t *p_item ) free( psz_artist ); free( psz_album ); - char *psz_arturl = input_item_GetArtURL( p_item ); input_FindArtInCache( p_playlist, p_item ); + + char *psz_arturl = input_item_GetArtURL( p_item ); if( !EMPTY_STR( psz_arturl ) ) { free( psz_arturl ); - return 0; + return 0; /* Art is in cache, no need to go further */ } free( psz_arturl ); -- 2.39.5