Commit d153e838 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Playlist: do not fetch art if you got an attachment as Art

(cherry picked from commit 36746327)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 82722e41
......@@ -167,7 +167,9 @@ static void Art( playlist_preparser_t *p_preparser, input_item_t *p_item )
const char *psz_name = vlc_meta_Get( p_item->p_meta, vlc_meta_Title );
if( p_preparser->i_art_policy == ALBUM_ART_ALL &&
( !psz_arturl || strncmp( psz_arturl, "file://", 7 ) ) )
( !psz_arturl ||
( strncmp( psz_arturl, "file://", 7 ) &&
strncmp( psz_arturl, "attachment://", 13 ) ) ) )
{
msg_Dbg( p_playlist, "meta ok for %s, need to fetch art",
psz_name ? psz_name : "(null)" );
......
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