Code:
{series}/{series_index:0>2s} {title}_{id}_{authors}
ID is optional, I use (That is the calibre library) ID to help detect a duplicate if the title or series metadata gets updated. The book will still have the same ID.
Books can Be in a series or Not
Books within a series can and do have different Authors, making that the LEAST valuable sort
Series index is the (sub)Sort, not the Title if you want a reading order
I keep most of my library available on my 4G SD Card on a device that does not have a Library manager.
No Series are file by Author then Title
Series are filed under Series, then Index (with title) and just carry Author along as a nice to know
Because I have so many books (the device menu show 8 items) .
the first level is broken into folders: Authors (last name: First letter)
Series name first letter
This makes only 4 pages to look at on the first layer, up to 5 pages on the second layer. I have Third layers as big as 12 pages
Here is the very complicated template (designed by chaley) that does this:
Code:
program:
test( field('series'),
strcat(
substr(field('series'), 0, 1),
template("-series/{series}/{series_index:0>2s}-{title}_{id}_{authors}")
),
template("00noseries/{author_sort[0]}_authors/{authors}/{title}_{id}-{authors}")
)