BUG: Artist Sort not being properly observed

I am viewing Albums “Sorted by Artist”.

The Artist “Pierre-Laurent Aimard” is listed under “P” alongside “Rebecca Pidgeon” etc. despite the fact that the Artist page being set to list him under “Aimard, Pierre-Laurent”.

See screen prints.
This is unexpected behaviour. I’d appreciate if you could have a look into this.


Hi @bbrip,

So we can better understand what you’re seeing, would you kindly share the following with us:

  • The Browsing Sorts section of Settings > General
  • A screenshot from the album showing the Album Artist and Primary Artist Link

Thanks!

  • Browsing is set to “Last Name”

Here two of the Albums sorted incorrectly for Aimard. There are more.


NB: I just discovered other artists where this happens. Let me know I should post those as well

@dylan
to further elaborate on this, I discovered that also Esa-Pekka Salonen is not sorted correctly. He Shows up under “E” instead of “S”. The communality between him and Aimard: Both their first names are separated by a hyphen, ie: “Esa-Pekka” and “Pierre-Laurent”.

My strong guess would be, that the bug is somewhere hidden in the treatment of this hypen.



Hi @bbrip,

When using the Last Name sort, there’s a bit of subtlety here that makes this a bit different than you might expect.

There are a couple ways that artist data can be associated with an album. One is the Album Artist field. This is a text field that basically means “the artist name as it appears on the album cover”. When you sort by First Name, essentially this means sorting by the “Album Artist” string “as is”. The Album Artist field is just a string of data, there is no understanding of first name vs. last name here.

Last Name sort, on the other hand, requires a bit more understanding. The Artist field (**Primary Artist Links under Edit Album) isn’t just text — It’s a rich object that we have a deeper understanding of, including first and last names. When you’re sorted by last name, this artist object is used for sorting.

So, in order to see why Roon is sorting the way it is, for one of these albums we need to see Primary Artist Links field under Edit Album. Can you share an example of this?

Hi @dylan, not sure I understand all you write above but I guess you mean this screen:

This gets sorted under “E” like Esa-Pekka instead of “S” like Salonen.

If I have an Album-Artist entry, lets say for “Simon Rattle / Berliner Philharmoniker”, then that gets sorted correctly under “R” like Rattle.

Thanks for that screenshot, @bbrip. That’s exactly what I needed.

With that screenshot it definitely looks like something isn’t working as expected. I’ve passed a ticket along to our QA team regarding this and will follow up once I have their feedback. Thanks for letting us know!

1 Like

Okay, I got a work around figured out. The issue, I think, is with the album artist field and a combination of the hyphenated first name along with two artists. If you go and add and album by Esa-Pekka Salonen that is just that artist, the last name sort functions correctly. In the case of the Stravinsky, editing and removing the other artist “Los Angeles Philharmonic Orchestra” does nothing and is not necessary to correct it.

Going to Album Artist, click the Edit your own, click the copy icon and then remove " / Los Angeles Philharmonic Orchestra" , Save, and it will sort correctly. ( The same proceedure also corrects the Pierre-Laurent Aimard issue with Nikolaus Harnoncourt)

Like So:

And then you get this for Album by Artist Last Name:

@Rugby Well figured, I found that out as well, :sunglasses: Its a workaround but not a solution.

There is someting wrong generally with hyphened names. They get all sorted wrong as soon as they get combined with another artist - which is of course very common.

If you combine artists with non-hyphened names, all is fine.

This should get fixed for good.

Thanks.

@dylan, @mike,

Any news on this?