2012-03-30, 19:31
(2012-03-29, 23:39)Montellese Wrote: Well IMO "label" never made much sense for Files.GetDirectory but I left it in because every other media type returned has a "label" property as well.
If you want to sort by filename you need to extract it from the "file" property. Furthermore IMO the only sorting method that makes any sense for songs is sorting by tracks
Although I tend to agree with you people might have a directory with a bunch of singles in and even though the sort has worked correctly by file name it looks wrong by label name as I said. If the file isn't in the library you get the file name, for consistency I think it would make more sense for the label to always be the file name whether in the library or not. You can check the properties for other info if it's in the library. But if you don't feel so inclined as you say I can trim it from the file property.