Kodi Community Forum

Full Version: Separators
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I need to add the ' (apostrophe) as separator, in addition to the " " and "." chars.
Where have I to edit?

Thanks!
It's an option in the advancedsettings.xml, particular to the <musiclibrary>, and <videolibrary> sections, called <itemseparator>.

EDIT - I think this may not be what you had in mind though... I'm not sure if your request is specific to the scrapers, or is an xbmc thing.
Thanks for the answer Thrack76,
I tried with no success.

I want xbmc in the movie list ignore what is before the apostrophe char.
For example, a movie with the name "L'impossibile" has to be sorted as "impossibile"

I just added the sort token "L" in languageinfo.xml, but now I've to tell xbmc to view the apostrophe char as a space (separator)..

Thanks
up
Would it not be:
Code:
<sorttokens>
  <token separators="'">L</token>
</sorttokens>
Or is that for something different?
I don't know, I'm asking for this.
But I never saw that type of sorttoken
Now I have:

In the file langinfo.xml (usr/share/xbmc/language/Italian):
<sorttokens>
<token>L</token>
</sorttokens>

In the file advancedsettings.xml (home/xbmc/.xbmc/userdata/advancedsettings.xml):
<sorttokens>
<token>'</token>
</sorttokens>

but it doesn't work
Up, please Wink
After 2 and half year, I'm alwaus stucked with the same problem.
In the meantime someone solved it?

In italian L' is equivalent to "lo, la, le" (the in english)
As Un' is equivalent to "una" (a in english)

Now I've:
- Barbie
- Un bel giorno
- Il buono
- Incognito
- Jane
- L'altro
- L'intruso
- La bella vita
- Osteria
- Un'ora

An example of how it should be:
- L'altro
- Barbie
- Un bel giorno
- Il buono
- Incognito
- L'intruso
- Jane
- La bella vita
- Un'ora
- Osteria
(2014-04-04, 13:51)poisons Wrote: [ -> ]After 2 and half year, I'm alwaus stucked with the same problem.
In the meantime someone solved it?

In italian L' is equivalent to "lo, la, le" (the in english)
As Un' is equivalent to "una" (a in english)

Now I've:
- Barbie
- Un bel giorno
- Il buono
- Incognito
- Jane
- L'altro
- L'intruso
- La bella vita
- Osteria
- Un'ora

An example of how it should be:
- L'altro
- Barbie
- Un bel giorno
- Il buono
- Incognito
- L'intruso
- Jane
- La bella vita
- Un'ora
- Osteria

To solve the problem add these lines in advancedsettings.xml file
Code:
<sorttokens>
       <token separators="'">L</token>
       <token separators="'">Un</token>
</sorttokens>
Just to say it Works!!
Thanks a lot Calosgheros