From 5fad05019f7b6cd5623512b3a2ac05c3ca1f717d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 11 Mar 2008 19:48:41 +0100 Subject: [PATCH] herm, "attachment://" is 13 characters, not 15 --- src/playlist/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/control.c b/src/playlist/control.c index c30c60f92b..880bdfde79 100644 --- a/src/playlist/control.c +++ b/src/playlist/control.c @@ -503,7 +503,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 || strncmp( psz_arturl, "attachment://", 15 ) ) + if( !b_has_art || strncmp( psz_arturl, "attachment://", 13 ) ) { PL_DEBUG( "requesting art for %s", psz_name ); playlist_AskForArtEnqueue( p_playlist, p_input ); -- 2.39.2