View Single Post
Old 04-13-2016, 12:48 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I've now modified the below quote to include list_item(0,&) -- which makes sure to always select the first author ONLY (and trim off additional authors).

This is after all also the way calibre stores things in its own internal library.

I have always found that to be more neat -- I modified all the default templates to use that.

Quote:
Originally Posted by eschwartz View Post
Current:
Code:
{author_sort[0]:list_item(0,&)}/{author_sort:list_item(0,&)}/{title}/{title} - {authors:list_item(0,&)}
If you want each authors folder to have a subfolder for series, use:
Code:
{author_sort[0]:list_item(0,&)}/{author_sort:list_item(0,&)}/{series:||/}{title}/{title} - {authors:list_item(0,&)}
If you want a "Standalone" subfolder for the non-series books as well, use:
Code:
{author_sort[0]:list_item(0,&)}/{author_sort:list_item(0,&)}/{series:ifempty(Standalone)||/}{title}/{title} - {authors:list_item(0,&)}

Personally, I would leave it as-is. I am happy with author/title/title - authors.epub

Last edited by eschwartz; 04-13-2016 at 12:52 PM.
eschwartz is offline   Reply With Quote