View Single Post
Old 05-22-2012, 09:47 AM   #1
Kralik
Guru
Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.Kralik ought to be getting tired of karma fortunes by now.
 
Posts: 609
Karma: 1013897
Join Date: Jul 2009
Device: Rooted NST
Frustrated with commas when saving/sending

For reference: I use a rooted NST with ReLaunch as my file manager. It displays simple folders and filenames. And I LOVE Calibre. Awesome work.

I've been having problems getting filenames to save correctly when I either save to disk or send to my device. Let's say I have a book named "The Librarian". The title sort is then "Librarian, The". When I save it to disk with the {title} field, it instead uses the title sort with the comma. Yuck--I'd really prefer to see the title as normal when I browse for it. Hmmm... after much searching and delving through the Calibre documentation, I discovered swap_around_commas(). Yay! So I set it up and it fixed that problem... while introducing another. Any title with a comma in it is mixed up, such as:

"I, Robot" ==> "Robot I"
"Miles, Mystery and Mayhem" ==> "Mystery and Mayhem Miles"

Ugh, not good. After searching these forums I finally stumbled upon another piece of the puzzle: tweaks.py. I set save_template_title_series_sorting = 'strictly_alphabetic' and found that it solved the "Librarian, The" problem I had earlier. But... it didn't fix the problem with commas in titles. I've tried with and without swap_around_commas(). Sigh...

Is there any way to have Calibre save the files with exactly what is in the title field, no more, no less? Why does it insist on moving things around when I explicitly state I want the {title}?
Kralik is offline   Reply With Quote