Commit 47cbfa66 authored by Rafaël Carré's avatar Rafaël Carré

playlist_PreparseLoop(): oneliner fix for psz_arturl checking

We will get the art if either:
    psz_arturl is NULL
    psz_arturl doesn't begin with "file://"
parent b82b61f2
......@@ -534,8 +534,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
}
/* We already have all needed meta, but we need art right now */
else if( p_playlist->p_fetcher->i_art_policy == ALBUM_ART_ALL &&
psz_arturl &&
strncmp( psz_arturl, "file://", strlen("file://") ) )
( !psz_arturl || strncmp( psz_arturl, "file://", 7 ) ) )
{
preparse_item_t p;
PL_DEBUG("meta ok for %s, need to fetch art", psz_name );
......
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