04-23-2023, 07:07 PM | #16 | |
Addict
Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
I get
Quote:
|
|
04-23-2023, 10:22 PM | #17 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Did you install the plugin?
|
Advert | |
|
04-23-2023, 10:51 PM | #18 |
Addict
Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
|
04-24-2023, 12:48 AM | #19 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you need
file_types not supported_extensions. It really would go a lot faster if you just read the builtin plugin for pdf input instead of trying to get chatgpt to do it for you. Just look at the existing PDFInput class and override the appropriate methods/fields. |
04-24-2023, 04:47 AM | #20 |
the rook, bossing Never.
Posts: 12,268
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Also Chatgpt makes up stuff (lies). Proven. It's an environmentally damaging toy.
|
Advert | |
|
04-24-2023, 10:58 PM | #21 |
Addict
Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
Thanks. That fixed the issue.
Updated __init__.py: Code:
from calibre.ebooks.conversion.plugins.pdf_input import PDFInput class MyPDFInput(PDFInput): name = "MyPDFInput" description = "Adds support for additional file extensions to PDF input" file_types = ['pdf_original', 'pdf_answers', 'pdf_booklet', 'pdf_oa', 'pdf_ocr', 'pdf_old', 'pdf_original', 'pdf_tesseract'] Last edited by Geremia; 04-24-2023 at 11:37 PM. |
04-24-2023, 11:34 PM | #22 |
Addict
Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
|
04-25-2023, 12:50 AM | #23 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can manually re-index any book by right clicking ont he book details panel or simply re-index your whole library.
|
04-25-2023, 07:32 PM | #24 | |
Addict
Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
Quote:
There's no way to bulk re-index select books? Last edited by Geremia; 04-25-2023 at 07:52 PM. |
|
Tags |
calibre, djvu, fulltext, indexing |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Choice for PDF/Djvus under 120$ | ehesvagyokmar | Which one should I buy? | 1 | 05-17-2017 01:47 AM |
Fulltext Search on M92 | Valec | Onyx Boox | 1 | 05-21-2012 05:14 AM |
solution for reading .pdfs, .djvus and .tiffs? | pan.sapiens | Which one should I buy? | 5 | 04-21-2012 04:26 PM |
fulltext search | guly | Calibre | 2 | 01-10-2010 06:49 AM |