You inspired me to get rid of the empty brackets, so:
If there is no series I want this
author - title
If there is a series I want this:
author - [series series_index] title
with a leading 0 if the series_index is less than 10.
So I use this for the save to disk template
{authors} - {series:| [| } {series_index:0>2s| |]} {title}
Works perfectly for both cases.
|