input_FindArtInCache( p_playlist, p_item );
char *psz_arturl = input_item_GetArtURL( p_item );
- if( !EMPTY_STR( psz_arturl ) )
+ if( !strncmp( psz_arturl, "file://", strlen( "file://" ) ) )
{
free( psz_arturl );
return 0; /* Art is in cache, no need to go further */
/* Check if we already dumped it */
if( !utf8_stat( psz_filename+7, &s ) )
+ {
+ vlc_meta_Set( p_item->p_meta, vlc_meta_ArtworkURL, psz_filename );
return;
+ }
f = utf8_fopen( psz_filename+7, "w" );
if( f )