Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2016, 07:02 PM   #1
kelemvor
Enthusiast
kelemvor began at the beginning.
 
Posts: 49
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
Old 07-29-2016, 07:05 PM   #2
kelemvor
Enthusiast
kelemvor began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Jan 2013
Device: Android
Ah, nevermind. Finally got google to do what I wanted and found it here:
https://manual.calibre-ebook.com/template_lang.html
kelemvor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE Create a Statement of Work to save thousands on your website InternetEducator Self-Promotions by Authors and Publishers 0 01-26-2016 12:54 PM
Save Template Help Maverynthia Library Management 10 05-19-2014 12:37 PM
Save to Disk If or Select Statement gabby98 Library Management 4 09-28-2013 12:50 PM
Save to Device template HFC3 Library Management 6 07-08-2013 11:48 AM
A little help with a save template...? Belfaborac Library Management 2 02-04-2011 09:47 PM


All times are GMT -4. The time now is 04:40 PM.


MobileRead.com is a privately owned, operated and funded community.