Posts: 1,462
Joined: Mar 2018
Reputation:
30
I was thinking over the same problem: If I change the behaviour now, and the issue is just a regression of the current Kodi version (for now we don't really know), I would change the desired default sorting (year, ascending) to something less user friendly. Maybe I just keep this change at hand, but not raise any pull request for now. We can use the time to figure out since when this is broken and when it might be fixed. Btw, just to be sure I checked if sort by "year, ascending" still work for music albums: it does. So maybe the issue you observe, just happens for movies inside movie collections.
When the App is sorting locally the section headers are shown (I guess this is what you called "labels" in your last comment). When the default sorting (the one which came from Kodi) is used these section headers are not shown. Exception: If more than 100 items are shown, the sections are displayed as well to enable quicker navigation by using the index in the right side. So, not seeing the section headers is a clear sign of seeing the list as it comes from Kodi.
Btw, did you ever use "Music Roles"? Was this ever working for any other role than "Artist"?
Posts: 1,462
Joined: Mar 2018
Reputation:
30
Yes, we talk the same. What you marked is called "index". This index is shown when the so-called "section headers" are shown as well (the vertical grey bars which in your case state "Die 2020er Jahre". Index and section headers go together. And they are not shown, if the App is in the sort mode which is equal to the way in which the data is requested from Kodi. In your example you should not see the index when using "year, ascending" (= default), but for any other sort mode -- like "year, descending" which your screenshot shows.
On the music roles: The displayed music roles are the ones coming from the API. If there is something different to what is shown in Kodi, we need to ask someone from the Music Database team. But what I meant was the result of selecting an artist inside a role. I found an issue which caused this to fail in most cases (only exceptions: role = "artist" always work, first selection after App start works for any role). In the meanwhile I found the problem and fixed it.
Posts: 560
Joined: Jan 2021
Reputation:
8
No, it is related to music roles. The song_artist table, as far as I understand it, contains not only the artists for each song, but also all the other persons involved, like composer or conductor. Maybe this table's content is then misinterpreted by the App? Or do you query for conductors and the API delivers a list of all conductors? Then the error is most likely in the API, not in the App.
But on the other hand, you are right, I limited in Kodi's settings the artists shown to album artists. So, can all this be a side effect of limiting the artist list to album artists, then somehow also limiting the conductors, composers and other roles? This would be a strange behavior - I would call it a bug.
(Coming back to the section headers, you are right, I missed the point that if one has more than 100 entries, they will always show up)
Posts: 1,462
Joined: Mar 2018
Reputation:
30
Sorry, but you are confusing me now.
Does Chorus have "Music Roles"? I only see the option to filter for "Artists". If this is what you are writing of, this is to my understanding the same as using the App in Music -> Artist. There you can toggle through 3 states: 1 (= as configured in Kodi), 2 (= album artists only), 3 (= all artists). Are you seeing the same content in Chorus "Artist" and under the Apps "all artists"?
If the music roles behave different based on your Kodi settings for the album artists, I do not see any way to handle this different. The API allows to receive the music roles. From this set of roles you can request a list of artist names for each role. For a combination of artist and role you can request a list of albums.
To me your use case sounds like a change request or bugfix in Kodi itself.
Posts: 560
Joined: Jan 2021
Reputation:
8
2022-01-02, 15:24
Wow!
Any idea what's the difference between artist and performer? Since you have at least one performer, my list of performers is empty...
And, second question, is the list of artists here always, despite of the setting elsewhere, listing ALL artists?
Best,
Ulf