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 11-22-2022, 04:35 PM   #1
JLC42
Member
JLC42 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2022
Device: Kobo Aura One
Question How to achieve this via 'save to disk' in Calibre?

When I save a book to my device I want the save template to output the filename as such:

Author - Title (Book X)

Example: Stephen King - The Two Dead Girls (Book 1)

I currently have the following template:
Code:
{authors} - {title:re(:, - )}
I want to add a field so that if a book is in a series (only if it's part of a series) will add the paratheses followed by the word book and then the actual number book.

If I do:
Code:
{authors} - {title:re(:, - )} (Book {series_index:>3s})
The filename would output as:

Stephen King - The Two Dead Girls (Book 1)

But if I save to disk a book that isn't in a series I would get the following:

Stephen King - Billy Summers (Book )

How can I get the template to put "(Book X)" only if the book is listed in a series?
JLC42 is offline   Reply With Quote
Old 11-22-2022, 06:02 PM   #2
JLC42
Member
JLC42 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2022
Device: Kobo Aura One
Found I can do it via this format (changed the filename structure a bit):

{series}/{series_index:0>2s| [Book |] - }{authors} - {title:re(:, - )}

Output: The Green Mile/[Book 01] - Stephen King - The Two Dead Girls
JLC42 is offline   Reply With Quote
Advert
Old 11-22-2022, 06:06 PM   #3
JLC42
Member
JLC42 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2022
Device: Kobo Aura One
I have "{series}/" at the start to create a folder for books that are in a series however the name will be "Green Mile, The", anyone know how I can get the folder to be "The Green Mile".
JLC42 is offline   Reply With Quote
Reply

Tags
calibre


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre save to disk zzaino Library Management 5 10-04-2020 05:54 PM
Reimport same library in Calibre (without Save to Disk)? rebl Library Management 9 06-11-2015 09:53 PM
Can't Save to Disk (calibre 0.8.21, iPad 1) brynnflynn Library Management 0 10-13-2011 12:18 PM
Calibre will not save to disk mrbillb Calibre 0 09-10-2010 07:56 PM
Can't SAVE TO DISK Calibre 0.6.24 Rootman Calibre 5 12-06-2009 06:01 AM


All times are GMT -4. The time now is 07:39 PM.


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