![]() |
#196 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
Also, I'd like to trim down long kindle book titles that often have the series name and the genre in the title.
Is there any way to search for titles that are, say, over 100 characters? |
![]() |
![]() |
![]() |
#197 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,604
Karma: 7511185
Join Date: Sep 2020
Device: none
|
Quote:
Code:
title:"~^.{100}" |
|
![]() |
![]() |
![]() |
#198 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,767
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Code:
template:"""program: strlen($title)#@#:n:>=100""" |
|
![]() |
![]() |
![]() |
#199 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,767
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
"Quotations" are auto-removed in title sort. not other punctuation like (parentheses) or ...ellipses. (Fanfic titles tend to go more stylistic). Is there a tweak for this? per_language_title_sort_articles doesn't seem suitable.
|
![]() |
![]() |
![]() |
#200 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,767
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I want to display a column icon when there's data files in the book. There's two ways I can see to do this:
1. Create a rule for program: extra_file_names(',') with any value. High-impact. 2. Update a noncomposite column (either #admintags or a new #extrafiles) and use Action Chains to update it. Less impact, but without a way (that I know of) to auto-update it when adding a file (which means forgetting). Is extra_file_names() very slow, or is there a better option? Last edited by ownedbycats; 05-17-2025 at 06:07 PM. |
![]() |
![]() |
![]() |
#201 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,358
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
As for the action chains, perhaps you can partially solve the problem by running the chain when calibre starts or stops. You might also be able to convince Kovid to add an event to the methods in cache.py that modify the data directory. |
|
![]() |
![]() |
![]() |
#202 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I use the extra_data_files function to show a folder icon:
Code:
program: if has_extra_files() then 'folder.png' else 'transparent_square.png' fi Because it's a wet cold Sunday morning, I removed the rule. I cannot discern any noticeable difference when hitting page down on the book list (48 lines per page), it is more or less instantaneous with or without the 'has_extra_files' column icon rule. BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Templates: various questions not worth their own thread | ownedbycats | Library Management | 839 | 05-29-2025 05:08 AM |
Forma Questions about quick management of Collections. | droopy | Kobo Reader | 5 | 10-10-2019 11:34 PM |
2 questions; library management & calibre version | Blue2u | Library Management | 4 | 04-15-2018 07:53 PM |
eBook/Comic/Manga Library Management Workflow: How do you manage your library? | Inukami | Library Management | 16 | 08-02-2017 12:24 PM |
Thread management questions | meme | Feedback | 6 | 01-31-2011 05:07 PM |