Quote:
Originally Posted by chaley
From the Advanced formatting section of the template language manual:
The last template expression
Code:
{series_index:0>2s| - | - {title}}
does exactly that. I suspect you want
Code:
{series_index:0>2s| - | - }{title}
It also isn't obvious why you want the series twice in the path
IMO a template of this complexity should be written in Template Program Mode (TPM). Not only is branching easier, TPM templates are much easier to debug.
|
The problem if I do {title} outside of the template expression is that I would then have the title of the book in the filename twice if it's not in a series. The intent is to match up with a program I used called Kavita and their intended library structure of:
Library Root
┖── Series Name
┖── Series Name.epub
I'll look into the TPM template.