From 89ad376f86f9146c5dfe794cdf76e5fbe2f69d34 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Wed, 24 Jun 2009 13:19:28 +0200 Subject: [PATCH] macosx: Ignore attachment:// in Art uri for now. --- modules/gui/macosx/playlistinfo.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m index fe8ad68a4f..623a6a54f8 100644 --- a/modules/gui/macosx/playlistinfo.m +++ b/modules/gui/macosx/playlistinfo.m @@ -291,7 +291,9 @@ static VLCInfo *_o_sharedInstance = nil; char *psz_meta; NSImage *o_image; psz_meta = input_item_GetArtURL( p_item ); - if( psz_meta ) + + /* FIXME Can also be attachment:// */ + if( psz_meta && strncmp( psz_meta, "attachment://", 13 ) ) o_image = [[NSImage alloc] initWithContentsOfURL: [NSURL URLWithString:[NSString stringWithUTF8String: psz_meta]]]; else o_image = [[NSImage imageNamed: @"noart.png"] retain]; -- 2.39.2