Commit 89ad376f authored by hartman's avatar hartman
Browse files

macosx: Ignore attachment:// in Art uri for now.

parent 90ffbf67
......@@ -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];
......
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