INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: magnust on March 27, 2017, 03:16:07 pm

Title: Alphabetical sort of "Å" broken
Post by: magnust on March 27, 2017, 03:16:07 pm
I have an artist with a name that begins with Å (yes I'm Swedish) and the Album artist sort order seems broken:

- Å is placed before A in the alphabetical Album artist list. Instead as it should be, after Z (z-å-ä-ö)

- Choosing Å or choosing A in an album artist pane will in both cases show both all artists beginning with A and Å simultaneously.


 
MC22.0.88 on W10
Title: Re: Alphabetical sort of "Å" broken
Post by: Negasonic on March 27, 2017, 07:05:12 pm
Same with Ä and Ö.

Å and Ä are treated as regular A.
Ö as a regular O.
Title: Re: Alphabetical sort of "Å" broken
Post by: Matt on March 27, 2017, 07:16:55 pm
Letters with accents and without accents are treated as equals.  That applies to searching and sorting.
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on March 28, 2017, 12:10:41 am
Letters with accents and without accents are treated as equals.  That applies to searching and sorting.

This wasn't the case in MC20 was it? (I just upgraded)
Title: Re: Alphabetical sort of "Å" broken
Post by: AndrewFG on March 28, 2017, 12:55:14 am
It's interesting to look at paragraph 2 (concerning Swedish) in this article..

https://msdn.microsoft.com/en-us/globalization/mt662313.aspx

Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on March 28, 2017, 12:58:33 am
This wasn't the case in MC20 was it? (I just upgraded)

MC20:

(http://yabb.jriver.com/interact/index.php?action=dlattach;topic=110006.0;attach=23870)



MC22:

(http://yabb.jriver.com/interact/index.php?action=dlattach;topic=110006.0;attach=23872)
Title: Re: Alphabetical sort of "Å" broken
Post by: Awesome Donkey on March 28, 2017, 03:45:19 am
There's been a decent amount of accent changes in MC22.
Title: Re: Alphabetical sort of "Å" broken
Post by: Matt on March 28, 2017, 09:08:48 am
Would adding an option like:
"Ignore accents when sorting"

That would be checked by default, but you could turn it off work for you?
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on March 28, 2017, 09:21:13 am
Would adding an option like:
"Ignore accents when sorting"

That would be checked by default, but you could turn it off work for you?

Where would ÅÄÖ end up in the sort when the option is unchecked?
Title: Re: Alphabetical sort of "Å" broken
Post by: Matt on March 28, 2017, 09:27:47 am
Coming next build:
Changed: Made ignoring accents a sort option in Options > Tree & View > Sorting.
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on March 28, 2017, 09:29:07 am
*big hug*

 :D
Title: Re: Alphabetical sort of "Å" broken
Post by: Trumpetguy on March 28, 2017, 11:54:56 am
Wonder how this will work with Norwegian characters. Where Sweden has ÅÄÖ, Norway has ÆØÅ (translates to Swedish characters ÄÖÅ). Sorting order in Windows has always been a pain.
Title: Re: Alphabetical sort of "Å" broken
Post by: Toucan on March 28, 2017, 05:56:55 pm
That's a whole new cÅn of wÖrms.
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on April 03, 2017, 09:43:18 am
Coming next build:
Changed: Made ignoring accents a sort option in Options > Tree & View > Sorting.

Thank you, tested this in the new build 22.0.95.


When having "Ignore accents when sorting" unchecked the letter Å is correctly sorted at the end of the alphabet. Super.


But:

- Setting "Ignore accents when sorting" unchecked doesn't stick between restarts of MC. It reverts to checked.

- When choosing "Å" in a pane ("album artists (grouped)") I get both all artists named A and Å in one big pile. Same when choosing "A".




EDIT: Ooops, just remembered, "album artists (grouped)" is a calculated field someone helped me make, probably glynor  :D It's this:

If(IsEqual([Album Artist (auto)], /(Multiple Artists/)), /(Multiple Artists/), Left(FixCase(Clean([Album Artist (auto)], 2), 3), 1))
Title: Re: Alphabetical sort of "Å" broken
Post by: Matt on April 03, 2017, 10:03:49 am
- Setting "Ignore accents when sorting" unchecked doesn't stick between restarts of MC. It reverts to checked.

Fixed next build.  Thanks for the report.
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on April 03, 2017, 10:16:42 am
Making a view with panes and having the first pane "Album artist (auto)" grouped by "1" (like in the pic below) and the second also "Album artist (auto)" but not grouped.


- There is no "Å" at all in the first pane. Is that the way it's supposed to work?

- If I select "A" in the first pane there is no artist with the name "Å" in the second pane which sounds correct BUT there is an album by "Ådahl" in the album list! See pic below!
Title: Re: Alphabetical sort of "Å" broken
Post by: Matt on April 03, 2017, 10:42:59 am
Next build will have a little tuning for accents with the letter filters you're using.

Hopefully things will be a bit better then.
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on April 03, 2017, 10:49:01 am
Thank you!!  :D
Title: Re: Alphabetical sort of "Å" broken
Post by: magnust on April 10, 2017, 08:37:43 am
Now (with MC 22.0.97) the settings stick. Thank you.



But this expression that worked perfect in MC20 still doesn't work in MC22.0.97:

If(IsEqual([Album Artist (auto)], /(Multiple Artists/)), /(Multiple Artists/), Left(FixCase(Clean([Album Artist (auto)], 2), 3), 1))

- When selecting "Å" in a pane based on the above expression I get both all "A" and all "Å" artists. Same when selecting "A".

- When selecting "A" in a pane based on "Album artist (auto)" I get both all "A" and all "Å" artists. There is no "Å" in the list to choose.