(2019-04-23, 14:06)unclefester Wrote: One of the main feature I was waiting for was the possibility to sort by Artist Sortname, mostly for individual singer, so to get [Last Name, First Name] in the Artist List.
I flagged the sortname option under Settings -> Media -> Music, but I got no change in my artist order list. Do I have maybe to erase and rescan all the DB? If so could you remind me the correct procedure, considering I'm using MySQL Music DB locally on the same Raspberry?
I am guessing that your music files were scanned into the library using an earlier version of Kodi that did not process the ARTISTSORTNAME tags (assuming that they were present in your tags). In that case yes you do need to rescan to read and apply those tags, however that no longer requires you to erase anything or drop the source. Nor does it require additions to the advancedsettings.xml (@
jjd-uk you are behind the times). If you view your music sources in file view mode, select the source and then on the context menu click on "scan item to library", if it has been scanned into the library already then you will be prompted "Do a full tag scan even when music files are unchanged?", answer yes. The new sortnames will be fetched, but none of your scraped art or additional info, ro music playback history will be lost (what happens when you drop the source).
Quote:Now I'd like to read on the video (and on Yatse artist list consequently, I hope) not [Oren Ambarchi], but [Ambarchi, Oren], exactly as I can read in the field strSortName, and in the Artist sort tag in every file loaded on my system.
Is it possible to get that?
The artists will appear in sortname
order, but generally most skins show artist name not sort name. That is up to the skinners (or users to customise). It means that "Oren Ambarchi" will be displayed up with the As like "ABBA".
The video library does not have this feature (up to some interested dev to implement it, and that is not me).
Yes, I'm happy to say Yatse does support this artist sort feature too. If Kodi has use of artist sortname enabled then that is the order you will see when using Yatse too. You need to have "Ignore article" enabled in your Yatse settings. Simply resync your library and it will both pick up the new sortname data and use it when sorting artists.
A small caviat JSON API only exposes visible settings, so if you set "useartistsortname" via advancedsettings.xml (something that early v18 alpha users of this feature may have done as the GUI setting was added later in the development) then it hides the setting from the GUI and prevents Yatse or any other JSONAPI consumer from reading it.