Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2022, 03: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, 05: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, 05: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 04:55 AM.


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