Kodi Community Forum
Place "The" at the end of the Titles? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264)
--- Thread: Place "The" at the end of the Titles? (/showthread.php?tid=287629)



Place "The" at the end of the Titles? - Dzrte4gle - 2016-08-20

I think I saw this option before, but can't find it now. Is there a way to sort the library titles, so that "The" gets placed at the end of the title instead?


RE: Place "The" at the end of the Titles? - SeVreN2013 - 2016-08-20

can't say i've ever seen that ? but i know the "ignore articles when sorting" (in Appearance > File List)

will ignore the "the" eg. The Dark Knight will be sorted under "D" but the filename remains the same


RE: Place "The" at the end of the Titles? - isamu.dragon - 2016-08-24

To add what SeVreN2013 said you can also add additional articles to have it ignore when sorting by using AdvancedSettings (an xml you have to create), for example I have it ignore the words "The, the, A, a, An, an" so that the go to their proper location (movie A Walk in the Clouds is in the Ws and not the As)
Code:
    <sorttokens>
        <token>the</token>
        <token>a</token>
        <token>an</token>
        <token>The</token>
        <token>A</token>
        <token>An</token>
    </sorttokens>



RE: Place "The" at the end of the Titles? - Longtime Collector - 2017-07-29

Can someone please further elaborate on isamu.dragon's response?
What is the name of the xml file to be created and where does it get placed within the Kodi directory structure?

Thanks
LC


RE: Place "The" at the end of the Titles? - DarrenHill - 2017-07-29

advancedsettings.xml (wiki) which needs to be placed in your userdata (wiki) folder.

More info is available on the wiki, or will be when the server's up again.


RE: Place "The" at the end of the Titles? - trogggy - 2017-07-29

'advancedsettings.xml'
It sits in the root of the userdata folder.
If you look in the wiki when it comes back up you'll find a big section detailing what the file can do.

Edit: I'd delete this as being superfluous if it was possible.
'You do not have permission to access this page. '


RE: Place "The" at the end of the Titles? - Longtime Collector - 2017-07-31

Well the server's still down. I placed advancedsettings.xml in userdata (same spot as guisettings.xml and favourites.xml), cleared out the cache and restarted Kodi but no joy. The A's and An's are still not sorting as desired (though the The's are sorting okay).

So I can wait for the server to come back, but if you have any hints in the meantime they will be appreciated.

LC


RE: Place "The" at the end of the Titles? - DarrenHill - 2017-07-31

The Wayback Machine copy of the page from the start of the month may help somewhat - section 2.3.4 there.


RE: Place "The" at the end of the Titles? - Longtime Collector - 2017-07-31

It's back.
And the secret is...
Code:
<advancedsettings>
<sorttokens>
    <token>the</token>
    <token>a</token>
    <token>an</token>
    <token>The</token>
    <token>A</token>
    <token>An</token>
</sorttokens>
</advancedsettings>
I didn't know about the <advancedsettings> bracketed statement but now I do.
Thanks all
LC