Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-22-2025, 10:18 PM   #196
7hir7een
Reader of Books
7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.
 
7hir7een's Avatar
 
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?
7hir7een is offline   Reply With Quote
Old 03-22-2025, 10:26 PM   #197
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,612
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by 7hir7een View Post
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?
Code:
title:"~^.{100}"
that's based on a search @chaley gave us to search for very large comments
Comfy.n is offline   Reply With Quote
Old 03-22-2025, 10:29 PM   #198
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by 7hir7een View Post
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?
Code:
template:"""program: strlen($title)#@#:n:>=100"""
Click image for larger version

Name:	2025-03-22 23_30_54-Advanced search.png
Views:	99
Size:	21.4 KB
ID:	214573
ownedbycats is offline   Reply With Quote
Old 04-26-2025, 07:02 PM   #199
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
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.
ownedbycats is offline   Reply With Quote
Old 05-17-2025, 06:05 PM   #200
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
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.
ownedbycats is offline   Reply With Quote
Old 05-17-2025, 06:29 PM   #201
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
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?
Other than a python template, extra_file_names() is the only way to determine that something is in the data directory. That function must read the disk to make the determination, so yes, it will not be fast. Whether it is fast enough only you can know. I suspect it will be acceptable because it will only run when the book is visible in the booklist and the answer to extra_file_names() is cached.

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.
chaley is offline   Reply With Quote
Old 05-17-2025, 08:58 PM   #202
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,738
Karma: 30237526
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
I have a library of 8,473 books, 2,951 (~35%) books have non-empty 'data' folders (there are probably a few hundred empty ones, I don't bother removing empty data folders). The library is on a 7,200 rpm SATA III (6.0Gb/s) HDD.

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
BetterRed is online now   Reply With Quote
Old 06-28-2025, 03:50 PM   #203
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
<p><span class='label'>Series</span>: <div class='metadata' id='seriesHTML'><a class='serieslink' href='., /, 2, 4, 5, 8, 9, :, a, c, e, f, g, h, i, n, o, p, r, s, t, u, v, w'> , &amp;, 3, [, ], a, b, d, e, f, h, i, k, l, n, o, r, s, t, u, w, ’</a></div><p>
Code:
<p><span class='label'>Series</span>: <div class='metadata' id='seriesHTML'><a class='serieslink' href='., /, 1, 7, 9, :, a, c, e, f, g, h, i, n, o, p, r, s, t, u, v, w'> , ', 3, E, N, S, [, ], i, k, n, o, s, t, y</a></div><p>
Due to some unknown glitch with FanFicFare, I have an unknown number of books where the longtext metadata column contains a string that resembles these two. Can fix it by replacing the stored metadata from website, but any idea how to search for affected fics?
ownedbycats is offline   Reply With Quote
Old 06-28-2025, 07:34 PM   #204
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Code:
<p><span class='label'>Series</span>: <div class='metadata' id='seriesHTML'><a class='serieslink' href='., /, 2, 4, 5, 8, 9, :, a, c, e, f, g, h, i, n, o, p, r, s, t, u, v, w'> , &amp;, 3, [, ], a, b, d, e, f, h, i, k, l, n, o, r, s, t, u, w, ’</a></div><p>
Code:
<p><span class='label'>Series</span>: <div class='metadata' id='seriesHTML'><a class='serieslink' href='., /, 1, 7, 9, :, a, c, e, f, g, h, i, n, o, p, r, s, t, u, v, w'> , ', 3, E, N, S, [, ], i, k, n, o, s, t, y</a></div><p>
Due to some unknown glitch with FanFicFare, I have an unknown number of books where the longtext metadata column contains a string that resembles these two. Can fix it by replacing the stored metadata from website, but any idea how to search for affected fics?
Use regexp search to look for books where the column contains
Code:
href='., /,
?
chaley is offline   Reply With Quote
Old 06-28-2025, 09:18 PM   #205
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Worked, thanks. Only a few stories affected thankfully.
ownedbycats is offline   Reply With Quote
Old 07-05-2025, 06:26 PM   #206
adolwyn
Junior Member
adolwyn began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2025
Device: Kobo Libra Colour
Question

If I am updating my whole library (I made a longer post on its own about everything), is the best practice to download metadata first (to ensure the various ids are set up properly) and then download covers? Or does it matter?
adolwyn is offline   Reply With Quote
Old 07-05-2025, 06:28 PM   #207
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Adding ISBN first (manually or with the Check ISBN plugin) can help in getting the metadata + covers for your specific edition, at least.
ownedbycats is offline   Reply With Quote
Old 07-07-2025, 02:05 PM   #208
saxondawg
Connoisseur
saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!saxondawg is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 67
Karma: 50952
Join Date: Mar 2010
Device: kindle paperwhite
Hi, folks. As a longtime Calibre user (almost since its inception) I have, of course, tinkered enough with my library that I have re-converted everything multiple times, going to various formats. Since my preferences were always set to place summary metadata at the front of the book, I have ended up, suddenly with books that have the metadata three or four times in front of the book. I wish there were a button for this in Quality Check. Is there some way to remove excess metadata summaries from multiple books without editing them one by one? This is not a huge deal, but a solution would be appreciated!
saxondawg is offline   Reply With Quote
Old 07-07-2025, 03:32 PM   #209
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,070
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quality check plugin: check for multiple jackets
theducks is offline   Reply With Quote
Old 07-07-2025, 07:48 PM   #210
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,738
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I would use this plugin ==>> Modify ePub

Click image for larger version

Name:	Screenshot 2025-07-08 093830.jpg
Views:	18
Size:	128.4 KB
ID:	216790

Modify Epub doco

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Templates: various questions not worth their own thread ownedbycats Library Management 850 07-12-2025 09:15 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


All times are GMT -4. The time now is 07:23 AM.


MobileRead.com is a privately owned, operated and funded community.