extract early attachment:// art
authorRafaël Carré <funman@videolan.org>
Mon, 25 Feb 2008 16:50:55 +0000 (16:50 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 25 Feb 2008 16:50:55 +0000 (16:50 +0000)
src/playlist/control.c

index 42a9140..edab5f0 100644 (file)
@@ -511,7 +511,7 @@ int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
         /* p_input->p_meta should not be null after a successfull CreateThread */
         b_has_art = !EMPTY_STR( psz_arturl );
 
-        if( !b_has_art )
+        if( !b_has_art || strncmp( psz_arturl, "attachment://", 15 ) )
         {
             PL_DEBUG( "requesting art for %s", psz_name );
             playlist_AskForArtEnqueue( p_playlist, p_input );