Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-13-2026, 01:11 PM   #1291
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,433
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by btfoster4545 View Post
ah- thank you!
If you're not going to help us by giving us the details we need to try to help you, then we can't try to help you.
JSWolf is offline   Reply With Quote
Old 08-13-2026, 02:06 PM   #1292
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 55,380
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Jon, given the information from btfoster4545 and thiago.eec and the last post from btfoster4545 saying thank you, it appears that the issue was, as suggested, that instead of library, selected books was selected in the Search Scope.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-08-13 110325.png
Views:	52
Size:	92.8 KB
ID:	225135  
DNSB is offline   Reply With Quote
Old 08-31-2026, 03:14 AM   #1293
jenrar
Connoisseur
jenrar began at the beginning.
 
Posts: 88
Karma: 10
Join Date: Nov 2011
Device: none
Okay, I did a search and didn't find anything, so hopefully I just didn't miss it.

I used this mainly to search for certain cover sizes. I just realized it's put a pin on the left on some of the books. Hovering over it shows Marked with text "cover_check". Is there a way to get it not to do that or to batch remove that now so I don't have to do it one at a time?

Thanks in advance.
jenrar is offline   Reply With Quote
Old 08-31-2026, 04:24 AM   #1294
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: 22,888
Karma: 34252744
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jenrar View Post
Is there a way to get it not to do that or to batch remove that now so I don't have to do it one at a time?
Try Mark books->Clear all marked books:

Click image for larger version

Name:	calibre - mark books - clear all marked books.jpg
Views:	30
Size:	76.5 KB
ID:	225544

Ctrl+Shift+M is my shortcut, afaik there's no default.

BR
BetterRed is offline   Reply With Quote
Old 10-03-2026, 10:57 PM   #1295
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,841
Karma: 2220202
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quality Check v1.14.8

Release Notes:
https://github.com/kiwidude68/calibr...y_check-1.14.8

Some minor bug fixes mostly with the Check broken image links function in log output or very baldy formed urls preventing the plugin from scanning the entire ebook.
kiwidude is offline   Reply With Quote
Old 10-19-2026, 08:52 AM   #1296
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
Is there a way to search for books that do NOT contain a specific string in their CSS stylesheets? I've got version numbers on my stylesheet.css iterations and I'd like to find those books that aren't using my latest version ("v20261013").
enuddleyarbl is offline   Reply With Quote
Old 10-19-2026, 12:03 PM   #1297
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,433
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by enuddleyarbl View Post
Is there a way to search for books that do NOT contain a specific string in their CSS stylesheets? I've got version numbers on my stylesheet.css iterations and I'd like to find those books that aren't using my latest version ("v20261013").
Try this search in CSS.
Code:
^((?!v20261013).)*$
JSWolf is offline   Reply With Quote
Old 10-19-2026, 02:11 PM   #1298
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
Try this search in CSS.
Code:
^((?!v20261013).)*$
It appears to be working-ish. I have 608 books in my library. If I run that search in Quality Check's "Search ePubs" against CSS files, it returns 575 hits. If I run a search looking for just v20261013, it returns 67 hits. Unfortunately, the total of those two searches is 642 books instead of the 608 I have. So, someplace, books are being counted twice.

I'm trying to parse what that search is doing. If it were just
Code:
^(?!v20261013)
, I'd think it would match the start of the line not followed by v20261013. But, with the parentheses and .*$, I'm guessing it somehow modifying that so that it's looking for any group on a line that does not include v2026103. But, I'm not sure how that's working.

So, I tried
Code:
^(?!.*v20261013)
to match the start of line not followed by any string ending with v20261013. That gives me (what looks like) the same 575 hits as yours. Unfortunately, I still don't see where the duplicate hits are coming from.

But, I'm still working on it.

EDIT: There's also a problem that I can make a case for those searches meaning find a CSS file with a line it in *somewhere* that does not contain v20261013. But, if that were true, EVERY file would satisfy that. And, even if I turn off the "Show All Occurrences" option (so the search would stop at the first hit in an ePub), I still get that same 575 hits. Looking at the log of the search, it looks like it's stopping at the first line of each book's CSS file because it does not contain v2026103 (which matches the search criteria).

Last edited by enuddleyarbl; 10-19-2026 at 02:36 PM.
enuddleyarbl is offline   Reply With Quote
Old 10-19-2026, 04:35 PM   #1299
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
Let me go back to

Code:
^((?!v20261013).)*$
since that's the kind of thing I see elsewhere on the web for finding things not in a line.

An awful lot of the time, if I look just for the search term (just entering that text) and then the NOT search term (using an edited version of the above), the two searches do not sum up to the total number of books I'm searching on.

For instance, I just tried the search term of div.play in my CSS. Seven results pop up. If I search for
Code:
^((?!div.play).)*$
, 602 results pop up. That's 1 more hit than the 608 books I'm searching on. Comparing the two sets of results, I found the book that's in both lists. "div.play" is sitting there in the CSS. I have no idea why the negative lookahead version seems to be dropping odd numbers of results that are also in the straight positive search. And the number of "duplicates" changes with the search term.
enuddleyarbl is offline   Reply With Quote
Old 10-19-2026, 04:44 PM   #1300
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,433
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The problem seems to be with multiple CSS. The regex fails when there are multiple CSS and what's not being searched for is not in any of the CSS.

I just tested it looking for @font on a book that has two CSS files. One with @font and one without @font. When I do the search, I get a match. but if I delete the CSS without @font, I get no match as I should.

This (IMHO) is a bug in the plugin.
JSWolf is offline   Reply With Quote
Old 10-19-2026, 06:35 PM   #1301
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
The problem seems to be with multiple CSS. The regex fails when there are multiple CSS and what's not being searched for is not in any of the CSS.

I just tested it looking for @font on a book that has two CSS files. One with @font and one without @font. When I do the search, I get a match. but if I delete the CSS without @font, I get no match as I should.

This (IMHO) is a bug in the plugin.
I think you've nailed it. When I started embedding a few fonts here and there in the Calibre Editor, it adds the @font-face at-rule via its own CSS page (called fonts.css). That looks like the culprit here. Thanks.

Last edited by enuddleyarbl; 10-19-2026 at 06:44 PM.
enuddleyarbl is offline   Reply With Quote
Old 10-19-2026, 07:37 PM   #1302
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,433
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by enuddleyarbl View Post
I think you've nailed it. When I started embedding a few fonts here and there in the Calibre Editor, it adds the @font-face at-rule via its own CSS page (called fonts.css). That looks like the culprit here. Thanks.
You should check for all ePub with multiple CSS and edit them to make just one CSS. It's what I do.
JSWolf is offline   Reply With Quote
Old 10-20-2026, 07:24 AM   #1303
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
I've opened an Github issue on this:

https://github.com/kiwidude68/calibr...ins/issues/188
enuddleyarbl is offline   Reply With Quote
Old 10-22-2026, 05:39 AM   #1304
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,841
Karma: 2220202
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by enuddleyarbl View Post
I've opened an Github issue on this:

https://github.com/kiwidude68/calibr...ins/issues/188
We can debate whether it is a "bug" vs "unexpected behaviour", but yes there is an issue here with any kind of negative lookup. The way the plugin works is it iterates through the content files in the ePub, applying the regex to each file individually.

For positive lookups that approach works fine. However as you found for negative lookaheads that approach doesn't work - if file #1 doesn't have a match, file #2 does have a match, you get a different result than searching "file 1 + file 2".

So why did I not just always compare "file 1 + file 2"? Well (a) that is extra processing, but (b) there is the risk of a false positive coming from a match across the file boundaries being merged together.

I don't like that idea too much. Equally it is expecting too much for the plugin to parse your regex to understand that it is a "negative lookup" and behave differently.

My proposal is to have an additional checkbox with something like "Does not contain". Thereby discouraging such negative-lookahead expressions. So you write the (simpler) normal lookup and tick the checkbox instead.

EDIT: rather than waiting for feedback I'm just going to push ahead with it... test version attached, will wait for translations for official 1.15.0 release.

EDIT 2: officially released as 1.15.0

Last edited by kiwidude; 10-23-2026 at 09:47 PM.
kiwidude is offline   Reply With Quote
Old 10-22-2026, 06:43 AM   #1305
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 885
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
I downloaded the test zip file and installed it via Preferences > Plugins > Load Plugin from File. It appears to work just fine. That "Does Not Contain" option makes searching for negative much easier. Thanks for the quick turnaround. I appreciate it.

Last edited by enuddleyarbl; 10-22-2026 at 06:47 AM.
enuddleyarbl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Search the Internet kiwidude Plugins 440 10-16-2026 10:12 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 31 10-16-2026 09:54 PM
[GUI Plugin] Open With kiwidude Plugins 406 10-10-2026 12:59 AM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 12:02 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 12:30 PM.


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