Quote:
Originally Posted by kovidgoyal
you need
file_types not supported_extensions.
|
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']
However, this plugin only allows the indexing of .pdf_* files that were imported after enabling this plugin. Is there a way to make it retroactively apply to previously-imported .pdf_* files?