PSA: The forum server will be physically migrated to a new datacenter. Expect a large downtime of the forum between the 27th and the 29th of September.

artist sort tag for nfo file

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mudfinger Offline
Junior Member
Posts: 7
Joined: Apr 2015
Reputation: 0
Post: #1
Is there a separate tag for artist sort that can be inserted into the .nfo file? for example i have artist "A Perfect Circle" which is being sorted on the letter "A" instead of "Perfect". I want to add a tag to sort via "Perfect Circle" without altering the name that is viewed in my library.

TIA
find quote
DaveBlake Offline
Team-Kodi Member
Posts: 2,457
Joined: Jun 2015
Reputation: 68
Location: South West England
Post: #2
Unfortunately no, Kodi does not process Sort Name tags, not at the moment anyway. Wish it did as I would so like artists sorted by last name etc., so it is on my todo list of music improvements.

But, good news for you, is that there is an option to "ignore articles" when sorting.

(2014-05-22 00:08)pkscout Wrote:  You'll need to create an advancedsettings.xml file and use the sorttoken option.

Advanced Settings wiki page: http://wiki.xbmc.org/?title=Advancedsettings.xml

Direct link to Sort Tokens: http://wiki.xbmc.org/?title=Advancedsett...sorttokens

This can be used to skip "The", so hopfully will work for "A" too.
find quote
mudfinger Offline
Junior Member
Posts: 7
Joined: Apr 2015
Reputation: 0
Post: #3
@DaveBlake - Bummer, hopefully the editing and sorting options will be as robust as the video section is; would also love to see the ability to stack songs of different formats (i.e. mp3, flac). As far as ignore articles, i have already set that option yet it still does not pick up artists, titles starting with "A." Bug perhaps?

Thanks for the info.

sort tokens? Not heard of that one before, I'll have to check that out. Thanks
(This post was last modified: 2015-11-22 01:14 by mudfinger.)
find quote
mudfinger Offline
Junior Member
Posts: 7
Joined: Apr 2015
Reputation: 0
Post: #4
(2015-11-21 16:33)DaveBlake Wrote:  Unfortunately no, Kodi does not process Sort Name tags, not at the moment anyway. Wish it did as I would so like artists sorted by last name etc., so it is on my todo list of music improvements.

But, good news for you, is that there is an option to "ignore articles" when sorting.

(2014-05-22 00:08)pkscout Wrote:  You'll need to create an advancedsettings.xml file and use the sorttoken option.

Advanced Settings wiki page: http://wiki.xbmc.org/?title=Advancedsettings.xml

Direct link to Sort Tokens: http://wiki.xbmc.org/?title=Advancedsett...sorttokens

This can be used to skip "The", so hopfully will work for "A" too.

Ok so the sort token tag worked like a charm for "A". So i tried a couple of other items i would like to ignore when sorting; specifically single quote, double quote, and opening parenthesis. I entered the tags into advancedsetting.xml as follows:
<sorttokens>
<token>A</token>
<token>a</token>
<token>'</token> <!-- single quote -->
<token>"</token> <!-- double quote -->
<token>(</token> <!-- opening parenthesis -->
</sorttokens>

But the special characters did not take. Tried the actual character as well as "&apos;" "&lpar;" and "&quot;" in addition to ascii and unicode. Any ideas on if I'm doing something wrong; or is this not possible? No big deal if not possible; just thought i would give it a shot in order to sort everything the way i prefer.
find quote
DaveBlake Offline
Team-Kodi Member
Posts: 2,457
Joined: Jun 2015
Reputation: 68
Location: South West England
Post: #5
(2015-11-21 16:33)DaveBlake Wrote:  Unfortunately no, Kodi does not process Sort Name tags, not at the moment anyway. Wish it did as I would so like artists sorted by last name etc., so it is on my todo list of music improvements.
Artist sort name has been implemented in Leia v18. It processes ARTISTSORT (TSOP), ALBUMARTISTSORT (TS02) and COMPOSERSORT (TSOC) tags embedded in the music files, and from <sortname> in artist.nfo.
find quote
mudfinger Offline
Junior Member
Posts: 7
Joined: Apr 2015
Reputation: 0
Post: #6
NICE! Look forward to checking it out!
find quote