View Single Post
Old 08-01-2012, 07:50 AM   #12
Pepin33
Zealot
Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.
 
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
Quote:
Originally Posted by Shai-Hulud View Post
But if calibre correctly interprets the eminently (human) readable form

is there honestly any advantage in expressing it your way?
Yes. If you want to replicate exactly Calibre's folders structure, there is some problems with: {authors}/{title} ({id})/{title} - {authors}

1.- If the book has more than one author, {auhors} puts all them. In Calibre's folders, only the first author is used.
2.- If the title is too long, in Calibre's folders only first 40 characters are used. {title} uses all them.
3.- Also, {title} uses save_template_title_series_sorting variable to set the title's sorting. Calibre's folders use always strictrly alphabetic order. And when I tried the template, and I put save_template_title_series_sorting = 'strictrly_alphabetic', Calibre ignores it, and continues using library_order (a bug?).

For example, a book titled "The long way" form "Peter Jones & Carl Black": Using the template {authors}/{title} ({id})/{title} - {authors}, the directory structure is:
Peter Jones & Carl Black/long way, The (xxx)/long way, The - Peter Jones & Carl Black
And using the template 'program', the result is:
Peter Jones/The long way (xxx)/The long way - Peter Jones
And this is the same directory structure Calibre uses for internal book storage (the question MaxPall asks in first post)
Quote:
Can anyone help me, by posting the template that reproduces exactly the Calibre internal dir structure?

Last edited by Pepin33; 08-01-2012 at 07:56 AM.
Pepin33 is offline   Reply With Quote