Kodi Community Forum

Full Version: Articel Ignore Bug - Includes . (dot)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've written the following XML in advancedsettings.xml:

Code:
<advancedsettings>
    <sorttokens>
      <token>a</token>
      <token>an</token>
      <token>the</token>
    </sorttokens>
</advancedsettings>

When it sorts, it sorts "A.I. Artificial Intelligence" in the I section instead of the A section. Need to make Kodi check for a space only after the sort token, in this case an A.

Thanks.
The problem is that Kodi sees periods, spaces, and underscores all as the same thing. I'm not sure if that is something that can be modified.

However, you can edit the sort-title to compensate for this. Select the movie/show in question, bring up the context menu ("C" or "menu" on your remote), then go to "Manage", then to "edit sort title". Then put in something without a period: "AI Artificial Intelligence". The displayed title will still be correct, but for sorting it will use the hidden sort-title.
Ned,

Thanks for the tip. I'll use that in the .nfo file, just wanted to let the programmers know. I suspect they're using regex and it just needs a bit of a tweak.