Quote:
Originally Posted by algernonramone
I have the following setup to conditionally add the series and series index to a book's path/filename when sending to a device:
|
Are you changing this in the send to device dialog or the device configuration dialog? It should be the device dialog because the template is copied there on the first send. You get to the device configuration dialog via Preferences / Plugins / Device interface. I suspect you must restart calibre for any changes to be taken into account.
Quote:
books/{#genre:subitems(1,2)}/{series:||/}{series_index:0>3s|| -}{title} ({authors})
If a book has genre A.B, series C, and series index I, this should save the book file to:
books/B/C/I - title (authors).ext
|
Note you will get two slashes in a row if the genre doesn't have a second component, the 'B' in your example. I suspect you are missing a space before the closing } in
Code:
{series_index:0>3.0f|| -}
Quote:
...
What am I doing wrong?
Thanks
|
My guess is that you aren't using the template you think you are because of the "copy" mentioned above.
If you are editing the template in the device configuration then I don't see a reason it shouldn't work. In that case please supply a sample empty book with metadata that isn't stored properly so I can test it with real data.