sindre_mehus wrote:kargath wrote:The directory sort bug still persists. I confirm the option "sort albums by year" is unchecked. I'm pretty sure I've figured out the condition that causes it...
I end up with two groups of alphabetically sorted directories. The first set only has another set of directories nested in it.
The second set has directories plus some individual files that for one reason or another belong in the root of that directory.
Does that make sense?
For whatever reason, subsonic isn't just sorting the directories in order, but also looking inside of them and if there's any files then it groups that set of directories together.
Example:
If I have this directory structure,
A1/X1/files
A1/X2/files
A1/files
A2/X1/files
A3/X1/files
A3/files
A4/X1/files
A4/X2/files
Subsonic orders it like this,
A2
A4
A1
A3
This is a weird and undesired behavior.
Can someone else that's having this issue please confirm as well?
Well, this behaviour is at least intentional. Subsonic differentiates between "albums" and "directories" (an album is a directory with at least one song in it), and the sorting algorithm puts directories before albums. In your example, A1 and A3 are classified as albums and hence come last.
Of course, if most people think this is an undesired behavior I'll be glad to change it.
Any opinions?
Thanks
Sindre
Within the say, A1 directory, I'd agree that I want folders first, then files.
When the sorting all of the directories in the root directory, I don't understand why subsonic is "looking into" each of those directories prior to sorting them.
This seems odd...
Certain artists may have one off songs that I didn't want to put in a folder, or other files associated with the artist that aren't songs or aren't album specific.
Subsonic didn't always sort the folders like this. I feel like this started when you added the metadata sorting.