Separators
#1
Hi I need to add the ' (apostrophe) as separator, in addition to the " " and "." chars.
Where have I to edit?

Thanks!
Reply
#2
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.
Quick Links: debug log (wiki) | userdata (wiki) | advancedsettings (wiki) | adding videos to the library (wiki)
Reply
#3
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
Reply
#4
up
Reply
#5
Would it not be:
Code:
<sorttokens>
  <token separators="'">L</token>
</sorttokens>
Or is that for something different?
Reply
#6
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
Reply
#7
Up, please Wink
Reply
#8
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
Reply
#9
(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>
Reply
#10
Just to say it Works!!
Thanks a lot Calosgheros
Reply

Logout Mark Read Team Forum Stats Members Help
Separators0