View Single Post
Old 05-17-2025, 10:07 AM   #1
PaigheTurn
Enthusiast
PaigheTurn began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2024
Device: Kindle 3 Wifi
Is it possible to configure for 2 separate folder groups? (Author and Series)

First, I would like to give credit to the person who commented the configuration I am using from reddit: u/SpartanHeavy

This is the configuration for "Send to Device" from Calibre:
Code:
{series:||/}{series_index:|| - }{title}-{authors}
This is the original picture he commented:
https://www.reddit.com/media?url=htt...29f91df360bc74

Explanation:
This configuration creates a Series folder if a book has existing series metadata. The problem is that all other books are then sent to the root folder without organization.

Is it possible to create an if-else condition for configuring Calibre? I want it so that if a series does not exist, an "Author" folder will be created instead. I tried to create an if-else condition with this code but it didnt work:
Code:
{#series:|{series}/|}{authors}/{title} - {authors}
All series got pasted into their author folders.

As a last resort, I know that I can make Series a subfolder of Author

EDIT:
as per @chaley, this is the code that works:
Code:
{series:'ifempty($, $authors)'}/{series_index:|| - }{title} - {authors}

Last edited by PaigheTurn; 05-18-2025 at 08:07 AM. Reason: Problem Solved
PaigheTurn is offline   Reply With Quote