Autoplaylists-for-Google-Music icon indicating copy to clipboard operation
Autoplaylists-for-Google-Music copied to clipboard

support case-insensitive sorting

Open teazdale opened this issue 8 years ago • 2 comments

Description

Have a playlist where I am sorting by Album Artist (among others) and it appears where I have Album Artists with the first letter lowercase, will appear at the bottom of the playlist (see screenshot). I have other songs that are by the same artist(s) being sorted to the bottom, where the artist's name is Title-cased and it appears where I expected it to (in the alphabetical order). So it appears to be that the sorting algorithm being used is sensitive to case. Hope this wasn't too confusing. If you have any questions for me let me know. Hope the questions help.

Sorting Options selected

image

Album Artist in Question

untitled

Same Artist, But Sorted Differently

untitled2

P.S. - Dont judge my music taste and apologies if this is a non-issue.

teazdale avatar Apr 25 '17 14:04 teazdale

Ah, yes, it's case-sensitive. Behind the scenes this is done by https://github.com/google/lovefield, and it doesn't look like it supports case-insensitive sorts out of the box.

The simplest way to support this would probably be to just add extra columns with the data in lowercase. Or, if the column names are too tightly coupled to the output right now, I could always sort directly in javascript. Either way, though, I don't think I'll get to it anytime soon; sorry.

P.S. - Dont judge my music taste

Haha, no judgement here.

simon-weber avatar Apr 25 '17 16:04 simon-weber

@simon-weber

Thanks for the quick response! No problem on the delay, just noticed it and wanted to help out in any way I can. It is definitely not a deal breaker for me.

Good luck and keep up the good work!

teazdale avatar Apr 26 '17 14:04 teazdale