Commit f8743ad0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework/VLCMedia: Rely on artFetched and not on the metaDictionary value.

parent 78b4a97d
......@@ -547,7 +547,7 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
- (id)valueForKeyPath:(NSString *)keyPath
{
if( ![metaDictionary objectForKey:@"artwork"] && [keyPath isEqualToString:@"metaDictionary.artwork"])
if( !artFetched && [keyPath isEqualToString:@"metaDictionary.artwork"])
{
artFetched = YES;
/* Force the retrieval of the artwork now that someone asked for it */
......
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