I think I have a bug fix/workaround for this issue in LMS8. It's not
perfect, but will hopefully be better than before.

The underlying issue is that the sort order for "Ö", "O" would not be
the same as for "Österreich", "Ozon", as the locale aware sorting
algorithm would take additional characters of a word into account. But
when we create the index bar, we only want to have the first character.

The workaround I've implemented would do the grouping in LMS code,
rather than the database code: after receiving all initial characters of
the list in sorted order, it would regroup them. If there was an
accented character between their "normal" neighbours (eg. "O, Ö, O" for
"Oberland, Österreich, Ozon"), then we'd group them together as "O".
Therefore only special version being listed before or after the others
would be listed separately. Eg. Grönemeyer's album "Ö" would get its own
index character, as there's no album "O" in my list. Worst case the
"O..." albums might get grouped into "Ö"... but whatever. It should be
more consistent and closer to the expectations. Please give it a try.

Git is up to date, build should be available in a bit.



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=112584

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to