View Single Post
Old 02-23-2014, 06:11 PM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by chaley View Post
It could be that the books in question were updated in CC while you were experimenting and weren't subsequently updated.
My sort tweak was the standard:

Spoiler:
# Set the list of words considered to be "articles" for sort strings

per_language_title_sort_articles = {'ron': ('Un\\s+', 'O\\s+', 'Ni\xc5\x9fte\\s+'), 'tur': ('Bir\\s+',), 'por': ('A\\s+', 'O\\s+', 'Os\\s+', 'As\\s+', 'Um\\s+', 'Uns\\s+', 'Uma\\s+', 'Umas\\s+'), 'ita': ('Lo\\s+', 'Il\\s+', "L'", 'La\\s+', 'Gli\\s+', 'I\\s+', 'Le\\s+'), 'nld': ('De\\s+', 'Het\\s+', 'Een\\s+'), 'spa': ('El\\s+', 'La\\s+', 'Lo\\s+', 'Los\\s+', 'Las\\s+', 'Un\\s+', 'Una\\s+', 'Unos\\s+', 'Unas\\s+'), 'fra': ('Le\\s+', 'La\\s+', "L'", 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+'), 'ell': ('O\\s+', 'I\\s+', 'To\\s+', 'Ta\\s+', 'Tus\\s+', 'Tis\\s+', "'Enas\\s+", "'Mia\\s+", "'Ena\\s+", "'Enan\\s+"), 'eng': ('A\\s+', 'The\\s+', 'An\\s+'), 'swe': ('En\\s+', 'Ett\\s+', 'Det\\s+', 'Den\\s+', 'De\\s+'), 'deu': ('Der\\s+', 'Die\\s+', 'Das\\s+', 'Den\\s+', 'Ein\\s+', 'Eine\\s+', 'Einen\\s+'), 'afr': ("'n\\s+", 'Die\\s+')}

default_language_for_title_sort = None

title_sort_articles = '^(A|The|An)\\s+'

and I have never experimented with this tweak. Turns out the default tweak has had international language specific articles added, that is why it was slightly different, but my calibre library sorts perfectly.

Quote:
Originally Posted by chaley View Post
It supports it. The two books in question *could* have been added to CC via "scan" and never had their metadata updated from calibre. In this case they would have the wrong series sort.
My tweaks are library order. The last (many moons ago) time I loaded books I put them on the device using number only to identify the books. I do not believe I have had scan for books set since well before my last load. I won't actually have a chance to look at it closer until Wednesday night Thursday morning.

Quote:
Originally Posted by chaley View Post
FWIW: I have fixed the regexp problem in CC.
Would clean database have used this regex?

Last edited by DoctorOhh; 02-23-2014 at 06:25 PM.
DoctorOhh is offline   Reply With Quote