|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Enthusiast
![]() Posts: 28
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} 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} 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; Yesterday at 08:07 AM. Reason: Problem Solved |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,206
Karma: 145458580
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You have to attach the image as we cannot see it. Please edit your post and delete the image link and the tags and attach the image so we can actually see it in the correct context. Most sites do not allow an image to be linked. And even if so, there's a good chance that eventually the image could be deleted and your link will no longer work.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,339
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Code:
{series:'ifempty($, $authors)'}/{series_index:|| - }{title} - {authors} |
![]() |
![]() |
![]() |
#4 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,937
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
https://www.reddit.com/media?url=htt...29f91df360bc74 |
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
My suggestion is to ditch the {id} part.
The reason is that only matches the current Calibre Library. Rebuilding or linking to a different Library that has that book will not Match. (Been there. Wondered why I was getting duplicates on my device. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jan 2024
Device: Kindle 3 Wifi
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jan 2024
Device: Kindle 3 Wifi
|
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jan 2024
Device: Kindle 3 Wifi
|
Thanks for the advice. I also removed the ID while trying to figure out the if-else code. I found it unnecessary and unpleasing to the eye
|
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,206
Karma: 145458580
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,937
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Perhaps you could emulate what several other people have done. Do not tell the poster what to do without showing an example of what can be done. In this case, one solution is to wrap the image link in URL tags which is not preferred since as you mentioned, this often leads to a 404 error or running into sites that no longer allow 3rd party access. The preferred option is to attach the image using the paperclip or Manage Attachments tool from Advanced mode.
Last edited by DNSB; Today at 05:59 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to configure for 2 separate folder groups? (Author and Series) | PaigheTurn | KOReader | 0 | 05-17-2025 10:04 AM |
Series Grouped by Letter of the Alphabet in Sub Groups | Bermudagirl | Library Management | 2 | 01-11-2023 11:30 AM |
Series Index displayed as separate column from Series | Vortex | Library Management | 3 | 03-15-2015 08:39 PM |
Separate author sort settings for separate libraries? | crackshot91 | Library Management | 1 | 09-09-2012 11:17 PM |
Series info into Tags field for Stanza's Groups | RoninTech | Calibre | 4 | 07-06-2010 09:23 AM |