mopidy / mopidy-local-sqlite

DEPRECATED (Mopidy SQLite local library extension)
https://mopidy.com
Apache License 2.0
30 stars 10 forks source link

Return browse results in case-insensitive sort order. #73

Closed tkem closed 9 years ago

tkem commented 9 years ago

See https://discuss.mopidy.com/t/alphabetical-sort-order-too-strict/686

Thought that this could be resolved using sortname, but even with a reasonably well-tagged, beets-based library, there are too many artists w/o a sortname field. And this only applies to artists, anyway.

Note that case-insensitive sorting only works for ASCII characters due to SQLite's NOCASE limitations. Alternatively, one can specify a custom collation function, but implementing such a function in Python would probably have too much of an performance impact.