[Path Suggester] Only process local file URLs
Playlist entries for non-file URLs should be ignored. Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
63ca187aa7
commit
b29d19966f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue