diff --git a/Preferences/Preferences/PathSuggester.m b/Preferences/Preferences/PathSuggester.m index b02ba1e3b..08e556c87 100644 --- a/Preferences/Preferences/PathSuggester.m +++ b/Preferences/Preferences/PathSuggester.m @@ -78,6 +78,14 @@ NSArray *originalArray = [results valueForKey:@"url"]; NSMutableArray *array = [originalArray mutableCopy]; + for(NSURL *url in originalArray) { + if(![url isFileURL]) { + [array removeObject:url]; + } + } + + originalArray = [array copy]; + id audioContainerClass = NSClassFromString(@"AudioContainer"); for(NSURL *url in originalArray) {