View Single Post
Old 07-29-2016, 07:02 PM   #1
kelemvor
Connoisseur
kelemvor began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
Can I use an IF statement in a Save template?

Hi,

Since many eReaders can't view/sort by Series very well, I use Calibre to rename the books via the Save to Disk Template. The setup I use is:
{series} {series_index} - {title}

This gives me something like:
Narnia 2 - Prince Caspian

THat way all the Narnia books are together and in the right order.

However, if I have a book that isn't part of a series, I end up with the dash symbol at the front of the name which is annoying.

Is there any way to do something so that IF a book has a series it will use the whole thing but IF NOT, then it should just use the title?

Thanks.
kelemvor is offline   Reply With Quote