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

This commit is contained in:
Chris Moeller 2017-12-16 19:05:17 -08:00
parent 9e8fd61d8c
commit 1b1721736e

View file

@ -272,6 +272,9 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
}
}
NSSortDescriptor * sd_path = [[NSSortDescriptor alloc] initWithKey:@"path" ascending:YES];
[urls sortUsingDescriptors:[NSArray arrayWithObject:sd_path]];
return urls;
}