Janne, sorry for not responding sooner, afriad I lost sight of this issue so split into a thread of it's own. I did receive your data, but could not see anything unusual.
Quote:I found out that in order to get the Album Artist Sort order correct in the database, you have to have the MusicBrainzAlbumID tag set for every album. This works even if the tag "value" is faked. Is this the intended behavior?
That makes no sense to me either. I have over 500 albums without mbids, and the artist sort names works absolutely fine. Nor do I see how changes to MusicInfoScanner can help, although I do appreciate you being enthusiastic/frustrated enough to look at and modify code.
Can we roll back to basics, and I will try to be more attentive.
I suspect that your issue is related in some way to the tagging itself, many things come down to that. Either faulty tagging, or some combination that my implementation has not accounted for (or both). There are some hints in the data entries for the example artists you mentioned that are not sorting.
Ale Möller
There are two artists like this a) Ale Moller (no acents) that does
not have a sort name and b) Ale Möller Band that does "Möller, Ale, Band".
There are songs from 2 albums, with "Ale Möller Band" as the song artist, and "Möller, Ale, Band" as sortname.
These albums - "Bodjal" and "Djef Djel" - have "Ale Moller" as the album artist. These do have "Moller, Ale" as sort name.
So why didn't "Moller, Ale" propagate to the artist entry?
Alexis Korner
There are two similar artists a) Alexis Korner that does
not have a sort name and b) Alexis Korner's Blues Incorporated that does.
There are songs from 3 albums, with "Alexis Korner's Blues Incorporated" as the song artist, and "Korner's, Alexis Blues Incorporated" as sortname.
These albums have "Alexis Korner" as the album artist. These do have "Korner, Alexis" as sort name.
So why didn't "Korner, Alexis" propagate to the artist entry?
Others - Astor Piazzolla, Ben E. King, Brian Auger, Brian Blade and 25-30 - have a similar pattern.
Can you tell me how say files from "Bodjal" are tagged, specifically the ALBUMARTIST, ALBUMARTISTS, ALBUMARTISTSORT, ARTIST, ARTISTS and ARTISTSORT tags.