Browse Source

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

master
Christopher Snowhill 2 years ago
parent
commit
1b1721736e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Playlist/PlaylistLoader.m

+ 3
- 0
Playlist/PlaylistLoader.m 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;
}


Loading…
Cancel
Save