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
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
|