|
@@ -301,7 +301,7 @@
|
|
- (void)updateMediaList
|
|
- (void)updateMediaList
|
|
{
|
|
{
|
|
NSString *directoryPath = [self directoryPath];
|
|
NSString *directoryPath = [self directoryPath];
|
|
- NSMutableArray *foundFiles = [NSMutableArray arrayWithObject:@""];
|
|
|
|
|
|
+ NSMutableArray *foundFiles = [NSMutableArray arrayWithArray:[[NSFileManager defaultManager] contentsOfDirectoryAtPath:directoryPath error:nil]];
|
|
NSMutableArray *filePaths = [NSMutableArray array];
|
|
NSMutableArray *filePaths = [NSMutableArray array];
|
|
NSURL *fileURL;
|
|
NSURL *fileURL;
|
|
while (foundFiles.count) {
|
|
while (foundFiles.count) {
|