XML playlists will no longer store metadataLoaded for files where an error occurred
parent
26cf87a62e
commit
e6a2773e8a
|
@ -209,6 +209,8 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
|
|||
|
||||
for (PlaylistEntry *pe in [playlistController content])
|
||||
{
|
||||
BOOL error = [pe error];
|
||||
|
||||
NSMutableDictionary * dict = dictionaryWithPropertiesOfObject(pe, filterList);
|
||||
|
||||
NSString *path = [self relativePathFrom:filename toURL:[pe URL]];
|
||||
|
@ -224,6 +226,9 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
|
|||
[dict setObject:hash forKey:@"albumArt"];
|
||||
}
|
||||
|
||||
if (error)
|
||||
[dict removeObjectForKey:@"metadataLoaded"];
|
||||
|
||||
[topLevel addObject:dict];
|
||||
|
||||
[dict release];
|
||||
|
|
Loading…
Reference in New Issue