Xion Audio Player

[fixed: 96] Playlist alphabetizing with special symbols

Fixed Bugs are moved here for archival purposes, usually marked with the build number they were fixed in.

Postby sp3ctum » February 20th, 2008, 10:58 pm

I noticed the Xion playlist handles debatable song names differently than windows explorer. For example, I have these artists in my playlist:

D'influence
D'Sound
De-Phazz
Deadbeats

(in that order, among other things)

but in windows explorer they're arranged thus:

Deadbeats
D'influence
De-Phazz
D'Sound

(among tons of other files, but that's the basic idea)

I think Xion thinks the symbols appear before letters in the alphabet, while explorer seems to ignore them (which I think is how it should be).
Just thought I'd report this. :?
sp3ctum
Xion Supporter
 
Posts: 16
Joined: February 11th, 2008, 7:48 pm

Postby Cliff Cawley » February 21st, 2008, 9:46 am

I do a very simple Alpha numeric sort that uses the Ascii table order.

I'll look into a better algorithm to do sorting similar to Windows Explorer for a future release.

Thanks!
Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby Cliff Cawley » March 30th, 2008, 7:21 pm

Ok I've implemented a Natural sorting algorithm.

It now reproduces everything very similar to Windows Explorer. Just one thing, your list order is different to my algorithm (and now my copy of Windows Explorer)

I.e.

Deadbeats
D'influence
De-Phazz
D'Sound

If its supposed to ignore a non alphanumeric character and continue comparing, then the correct output would be:

Deadbeats
De-Phazz
D'influence
D'Sound

Reason for this, is that if you ignore the ' character, then the next character to compare with is i, which comes after e in my alphabet ;)

Anyway, this sorting feature will be available in build 96.

Let me know how it goes for you (will be release in Beta form soon)

Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Return to Bugs - Fixed

Who is online

Users browsing this forum: No registered users and 7 guests

cron