|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Boox Page
|
I'm basically trying to have two folder structures based on whether or not a series is defined. For example:
If Series exists, I want to use this structure Series/{series}/{series_index} - {title} otherwise I want to use this one Books/{author_sort}/{title} Any idea how I can achieve this? I almost solved the problem but this isn't quite the same structure: {series:'ifempty($, 'Books')'}/{author_sort}/{series_index} {title} |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,286
Karma: 62000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I went a bit further back when I got my EZReader that only use a file list
@Chaley whipped this one up (I later did a minor tweak to handle Hierarchical series) Code:
# Calibre Send to Device 11/2013
program:test(field('series'),strcat(
substr(field('series'), 0, 1),template("-series/{series:subitems(0,1)||/}{series:subitems(1,2)||/}{series_index:0>5.2s}-{title}_{authors}")
),template("00noseries/{author_sort[0]}_authors/{authors}/{title}-{authors}}")
)
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| different save templates in my device | maqueca | Calibre | 2 | 05-05-2019 07:49 PM |
| calibre-server: Book list templates | sciurius | Related Tools | 5 | 02-24-2018 05:19 AM |
| PRS-T2 Calibre help with templates - Series/Title display | sharphamster | Sony Reader | 6 | 02-25-2014 12:53 PM |
| Is it possible to have dataset templates in calibre ? | AIberto | Library Management | 10 | 11-23-2013 05:56 PM |
| Send to device templates? | krissasaur | Devices | 2 | 01-02-2013 07:10 PM |