Kodi Community Forum
Ignoring "A" when sorting through movie titles? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Ignoring "A" when sorting through movie titles? (/showthread.php?tid=113815)

Pages: 1 2


Ignoring "A" when sorting through movie titles? - JohnVee - 2011-11-03

Hi,

In my movie collection, I have about 20 titles that start with A.

e.g.
A Few Good men
A History of Violence
A Perfect Getaway

Is there a way that I can ignore the "A" when sorting through my movies?

Thanks


- steelman1991 - 2011-11-03

JohnVee Wrote:Hi,

In my movie collection, I have about 20 titles that start with A.

e.g.
A Few Good men
A History of Violence
A Perfect Getaway

Is there a way that I can ignore the "A" when sorting through my movies?

Thanks
Yes

From the xbmc gui

System\Appearance\File Lists\Ignore articles when sorting (e.g. "the")


- Soutie - 2011-11-03

steelman1991 Wrote:Yes

From the xbmc gui

System\Appearance\File Lists\Ignore articles when sorting (e.g. "the")

That will only ignore the "The" and not "A" or "An"

To get XBMC to ignore them you have to add the following into your advancesettings.xml file

<sorttokens>
<token>a</token>
<token>an</token>
</sorttokens>

Each 'token' is a word that will be ignored


- steelman1991 - 2011-11-03

Soutie Wrote:That will only ignore the "The" and not "A" or "An"

To get XBMC to ignore them you have to add the following into your advancesettings.xml file

<sorttokens>
<token>a</token>
<token>an</token>
</sorttokens>

Each 'token' is a word that will be ignored
Your bang on Soutie - forgot about adding other 'tokens' - thanks


- JohnVee - 2011-11-03

Thanks guys for your help!


RE: Ignoring "A" when sorting through movie titles? - spiderborg - 2015-10-03

Is there any chance this will be added to Kodi without having to mess with the advance settings file?

It seems pretty standard when sorting things to ignore a, an, and the. I'm curious why it only includes "the" by default?


RE: Ignoring "A" when sorting through movie titles? - pagali - 2015-10-03

(2015-10-03, 22:59)spiderborg Wrote: Is there any chance this will be added to Kodi without having to mess with the advance settings file?

It seems pretty standard when sorting things to ignore a, an, and the. I'm curious why it only includes "the" by default?

I've always wondered about that too. Why would anybody want to skip "The" but not skip "A" and "An" ??

BTW.. I also have included * and " in my advancedsettings.xml file

Code:
<sorttokens>
        <token>The</token>
        <token>A</token>
        <token>An</token>
        <token separators="">*</token> <!-- asterisk symbol * -->
        <token separators="">&quot;</token> <!-- quotation symbol -->
    </sorttokens>

NOTE: I can't get the html code for * to show up properly here, it keeps converting it to *. but the code is #42 surrounded by & and ;


RE: Ignoring "A" when sorting through movie titles? - Fail$tyle420 - 2015-10-04

(2015-10-03, 22:59)spiderborg Wrote: Is there any chance this will be added to Kodi without having to mess with the advance settings file?

It seems pretty standard when sorting things to ignore a, an, and the. I'm curious why it only includes "the" by default?

+100


RE: Ignoring "A" when sorting through movie titles? - spiderborg - 2015-10-13

(2015-10-03, 23:50)pagali Wrote:
(2015-10-03, 22:59)spiderborg Wrote: Is there any chance this will be added to Kodi without having to mess with the advance settings file?

It seems pretty standard when sorting things to ignore a, an, and the. I'm curious why it only includes "the" by default?

I've always wondered about that too. Why would anybody want to skip "The" but not skip "A" and "An" ??

BTW.. I also have included * and " in my advancedsettings.xml file

Code:
<sorttokens>
        <token>The</token>
        <token>A</token>
        <token>An</token>
        <token separators="">*</token> <!-- asterisk symbol * -->
        <token separators="">&quot;</token> <!-- quotation symbol -->
    </sorttokens>

NOTE: I can't get the html code for * to show up properly here, it keeps converting it to *. but the code is #42 surrounded by & and ;

This helps out a great deal! Thanks Smile

I'm trying to figure out how to ignore the left parentheses "(". So far I've been unsuccessful. Google has not helped either. I was wondering if you know how this could be accomplished?


RE: Ignoring "A" when sorting through movie titles? - ilovethakush - 2015-10-13

Oh no please don't make this a feature. I only want to ignore "the", as I'm sure most people. It makes ZERO sense to ignore a or an, that's just my opinion and I don't wanna argue with anyone about it. Just the settings are fine as is, if you want more, you do advancedsettings.

But then again in the settings it says "ignore articles when sorting" and a and an are definitely articles. Still though, I've made my point clear.


RE: Ignoring "A" when sorting through movie titles? - pagali - 2015-10-13

(2015-10-13, 15:34)spiderborg Wrote:
(2015-10-03, 23:50)pagali Wrote:
(2015-10-03, 22:59)spiderborg Wrote: Is there any chance this will be added to Kodi without having to mess with the advance settings file?

It seems pretty standard when sorting things to ignore a, an, and the. I'm curious why it only includes "the" by default?

I've always wondered about that too. Why would anybody want to skip "The" but not skip "A" and "An" ??

BTW.. I also have included * and " in my advancedsettings.xml file

Code:
<sorttokens>
        <token>The</token>
        <token>A</token>
        <token>An</token>
        <token separators="">*</token> <!-- asterisk symbol * -->
        <token separators="">&quot;</token> <!-- quotation symbol -->
    </sorttokens>

NOTE: I can't get the html code for * to show up properly here, it keeps converting it to *. but the code is #42 surrounded by & and ;

This helps out a great deal! Thanks Smile

I'm trying to figure out how to ignore the left parentheses "(". So far I've been unsuccessful. Google has not helped either. I was wondering if you know how this could be accomplished?

Same method as above, see character codes here: http://character-code.com/ Big Grin The first code listed for each character is the HTML code -- that's the one you'll want to use.


RE: Ignoring "A" when sorting through movie titles? - pagali - 2015-10-13

Having been close to a librarian for many years, I can tell you that it IS correct to skip A, An, The, and even foreign versions of the same articles when sorting book or movie titles. No argument needed. Smile In my own personal media library, I don't worry about the foreign articles, though... and you're also entitled to manage your library any way that makes you happy.


RE: Ignoring "A" when sorting through movie titles? - ilovethakush - 2015-10-13

(2015-10-13, 17:24)pagali Wrote: Having been close to a librarian for many years, I can tell you that it IS correct to skip A, An, The, and even foreign versions of the same articles when sorting book or movie titles. No argument needed. Smile In my own personal media library, I don't worry about the foreign articles, though... and you're also entitled to manage your library any way that makes you happy.

You're right, I know that's the standard. I'm just saying to me personally it makes no sense as it makes it much harder to find what you want (which is the point of organizing right). Ignoring the is great, cause there is just so many movie titles that start with the and when speaking with someone in real life, the "the" is usually left out of the speech.

Such as, the first fast movie is called. The Fast and the Furious, but when speaking people just say, did you see fast and furious? (and yes I know the 4th movie is called that lol, I just couldn't think of another movie lol)

For A Few Good Men, or any a or an movie, you usually pronounce the article.


RE: Ignoring "A" when sorting through movie titles? - spiderborg - 2015-10-14

I just hate it when I'm scrolling through my list of movies and "A Nightmare on Elm Street" is at the beginning of the alphabet instead of under "N" as it should be. I'm pretty OCD when it comes to this. After I get my whole library set up the way I want it I'm going to create NFO files to keep things permanent (including all the artwork the way I want Wink )


RE: Ignoring "A" when sorting through movie titles? - Fail$tyle420 - 2015-10-14

(2015-10-13, 16:46)ilovethakush Wrote: Oh no please don't make this a feature. I only want to ignore "the", as I'm sure most people. It makes ZERO sense to ignore a or an, that's just my opinion and I don't wanna argue with anyone about it. Just the settings are fine as is, if you want more, you do advancedsettings.

Rofl Rofl Rofl Rofl Rofl Rofl