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}