Hello all! I'm trying to improve title sorting within screens such as My Videos and My Music. So far, I have the following:
Hopefully you'll find this as useful as I have.
It works for videos and music, but I'm not sure where else it could be applied as I don't know enough about the project; I'd appreciate any advice you have to give. I don't want to submit a half-finished patch - but maybe that's fine, let me know if so.
Thanks in advance. I've included a TitleComparer.cs file, and modified versions of everything else.
- Numeric comparison, as per Windows Explorer. Sorts "1.avi" before "02.avi" and "10.avi"
- Redundant leading word removal before comparison - e.g "The A.avi" should come before "B.avi". These words are defined within the language files, comma-separated.
Hopefully you'll find this as useful as I have.
It works for videos and music, but I'm not sure where else it could be applied as I don't know enough about the project; I'd appreciate any advice you have to give. I don't want to submit a half-finished patch - but maybe that's fine, let me know if so.
Thanks in advance. I've included a TitleComparer.cs file, and modified versions of everything else.