Fix PlaylistLoader to sort the contents of directories by the file path.

CQTexperiment
Chris Moeller 2017-12-16 19:05:17 -08:00
parent 9e8fd61d8c
commit 1b1721736e
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}