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 03-16-2017, 11:01 AM   #1
amimichelle
Junior Member
amimichelle began at the beginning.
 
amimichelle's Avatar
 
Posts: 3
Karma: 10
Join Date: Jul 2013
Device: kindle paperwhite
Question Python - Saving Books to Disc




good morning,

my current save template is

{Author} [{series:'ifempty ($, field('pubdate'))'}{series_index:0>2s| |}] - {Title}

I want to change it so that if there is no series, to insert "[A Novel pubdate]

The end result would be the result of the current save template but will add "A Novel" in front of the pubdate if there is no series.

I've spent hours trying to do this myself and have consulted the python instructions from the calibre help pages, but cannot figure it out. please help!

thank you tons and lots in advance!!
amimichelle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shorten files name when saving to disc theaccountant Calibre 4 09-10-2015 07:34 PM
Saving Books to Disc - Some Help Please? Alidai Library Management 1 10-28-2013 02:40 AM
Saving files to disc RichardP Conversion 9 12-14-2012 06:55 PM
Saving to disc wjt Library Management 5 03-24-2012 05:03 PM
Saving to Disc deddajay Library Management 2 01-15-2012 03:02 PM


All times are GMT -4. The time now is 03:21 AM.


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