Fix PlaylistLoader to sort the contents of directories by the file path.
parent
9e8fd61d8c
commit
1b1721736e
|
@ -271,6 +271,9 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NSSortDescriptor * sd_path = [[NSSortDescriptor alloc] initWithKey:@"path" ascending:YES];
|
||||||
|
[urls sortUsingDescriptors:[NSArray arrayWithObject:sd_path]];
|
||||||
|
|
||||||
return urls;
|
return urls;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue