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 05-02-2025, 08:10 PM   #1951
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: 45,439
Karma: 168808777
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jluaioyj View Post
A plugin to back up and restore Calibre configuration as a single file, like a .tar, .tgz or .txz archive, including plugins configuration, optionally including plugins, optionally including library names/paths. On restore, only the compatible plugins get installed, and any invalid library paths get ignored.
Would you be happy enough with a plugin that does the configuration including plugins? If so, check the [Library Closed Plugin] Backup configuration folder(s) thread.
DNSB is offline   Reply With Quote
Old 05-02-2025, 08:17 PM   #1952
jluaioyj
Junior Member
jluaioyj began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2022
Device: Kobo Touch, Like Book Mars, Android
Plugin: back up and restore Calibre base configuration via one file

Edit timeout too fast.

The backup file should be a well-supported directory archive type like a .zip, .tar, .tgz or .txz, and include the plugins and their base configuration.

It may be worth proving an option to doing a subset from a library too or instead, say library specific plugin configuration, and templates, columns etc. i.e no book meta-data.
jluaioyj is offline   Reply With Quote
Old 05-03-2025, 06:05 AM   #1953
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,365
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jluaioyj View Post
Edit timeout too fast.

The backup file should be a well-supported directory archive type like a .zip, .tar, .tgz or .txz, and include the plugins and their base configuration.

It may be worth proving an option to doing a subset from a library too or instead, say library specific plugin configuration, and templates, columns etc. i.e no book meta-data.
Did you look at the plugin @DNSB referred to? It does your first wish.

It doesn't do the second, and I have no intention of adding that. Do note, however, that library specific configuration data is backed up by calibre in the file metadata_db_prefs_backup.json. This file is used by calibre's library restore function.
chaley is offline   Reply With Quote
Old 05-14-2025, 04:01 AM   #1954
kamowski
Junior Member
kamowski began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2025
Device: none
TOCMarker plugin

Hello,
I mainly use PDF documents in Calibre. I need a plugin that checks a PDF document and marks, in a separate column, whether the document contains a TOC or not.
I have a script that detects the presence of a TOC in a PDF document, but I don't know how to turn it into a plugin. I'm not a programmer, and I created this script using AI.
Can anyone me create a plugin from it?
Thank you!
Attached Files
File Type: py toc_marker.py (553 Bytes, 35 views)
kamowski is offline   Reply With Quote
Old 05-24-2025, 05:14 PM   #1955
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 878
Karma: 409970
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Now I understand the work involved in maintaining a plugin, especially if the page changes domain and apparently its structure.
I tried editing the plugin and naively changing the page address, but to no avail.
dunhill is offline   Reply With Quote
Old 05-25-2025, 08:38 AM   #1956
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,010
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by kamowski View Post
Hello,
I mainly use PDF documents in Calibre. I need a plugin that checks a PDF document and marks, in a separate column, whether the document contains a TOC or not.
I have a script that detects the presence of a TOC in a PDF document, but I don't know how to turn it into a plugin. I'm not a programmer, and I created this script using AI.
Can anyone me create a plugin from it?
Thank you!
I am a programmer and this has been on my todo list for a number of years.

Too many projects right now to get to it, but here's my thoughts...

Calibre has an internal pdf library that it should be easy to leverage to do this.

Not all pdf files with a TOC actually have a TOC. Far more than I like have a "TOC" with a single entry in them, so knowing if it has a TOC is not enough, you need to check if it has more than some threshold number of entries. (Which is still trivial, but...)
compurandom is offline   Reply With Quote
Old 05-26-2025, 08:41 AM   #1957
kamowski
Junior Member
kamowski began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2025
Device: none
Quote:
Originally Posted by compurandom View Post
I am a programmer and this has been on my todo list for a number of years.

Too many projects right now to get to it, but here's my thoughts...

Calibre has an internal pdf library that it should be easy to leverage to do this.

Not all pdf files with a TOC actually have a TOC. Far more than I like have a "TOC" with a single entry in them, so knowing if it has a TOC is not enough, you need to check if it has more than some threshold number of entries. (Which is still trivial, but...)
Yes, I agree. I am currently using a script outside of Calibre in Thunar that marks PDF files with TOC. I upload them to the Calibre library, and they are tagged as "TOC" or "bezTOC". As you mentioned, not every TOC is useful—sometimes it's just a one entry, sometimes it's just a mess. But even that mess can sometimes help determine whether a PDF document is a single book or several booklets combined.
I'm not a programmer; I write my scripts with the help of AI, and it also translates this text for me. 🙂
Attached Files
File Type: zip TOC.sh.zip (915 Bytes, 13 views)
kamowski is offline   Reply With Quote
Old 05-27-2025, 09:16 AM   #1958
mitch13
Addict
mitch13 began at the beginning.
 
Posts: 201
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
Just a quick note to this and interested to find if it is common on the Kindle. Just very recently, I now find that the Kindle does not have the option to mark books on the device as "Read"
mitch13
mitch13 is offline   Reply With Quote
Old 05-27-2025, 04:58 PM   #1959
Nefer
Junior Member
Nefer began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite 11thGen
Library of Congress Digital Collection Store Plug-in

This is my very first post here but I'm motivated. Hoping I found the right spot.

Ive found some historical gems from the Library of Congress Digital Collections (https://www.loc.gov/collections/ - scroll down and choose Digital on the left) and they offer free downloads.

How does one make a Store so it gets searched by Calibre when you choose "Get Books"? I dont know how to code but I copy effectively in Notepad and can insert a URL with the best of them.

Thank you.
Nefer is offline   Reply With Quote
Old 05-31-2025, 02:29 PM   #1960
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 878
Karma: 409970
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by Nefer View Post
This is my very first post here but I'm motivated. Hoping I found the right spot.

Ive found some historical gems from the Library of Congress Digital Collections (https://www.loc.gov/collections/ - scroll down and choose Digital on the left) and they offer free downloads.

How does one make a Store so it gets searched by Calibre when you choose "Get Books"? I dont know how to code but I copy effectively in Notepad and can insert a URL with the best of them.

Thank you.
It seems like a screen to add a store address when getting a book would be helpful. I've checked, and it doesn't seem to be possible to add one.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	35
Size:	97.9 KB
ID:	215942  
dunhill is offline   Reply With Quote
Old 05-31-2025, 06:55 PM   #1961
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,662
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Each "store" requires a plugin, there's a bunch included in the base, and there are some optional Store plugins, see ==>> Index of plugins

BR
BetterRed is offline   Reply With Quote
Old 06-08-2025, 01:23 PM   #1962
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 878
Karma: 409970
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by Nefer View Post
This is my very first post here but I'm motivated. Hoping I found the right spot.

Ive found some historical gems from the Library of Congress Digital Collections (https://www.loc.gov/collections/ - scroll down and choose Digital on the left) and they offer free downloads.

How does one make a Store so it gets searched by Calibre when you choose "Get Books"? I dont know how to code but I copy effectively in Notepad and can insert a URL with the best of them.

Thank you.

I modified a store plugin, check if it works for you.
Attached Thumbnails
Click image for larger version

Name:	2.png
Views:	14
Size:	37.8 KB
ID:	216091   Click image for larger version

Name:	1.png
Views:	18
Size:	76.8 KB
ID:	216092  
Attached Files
File Type: zip LibraryofCongress.zip (2.2 KB, 4 views)

Last edited by dunhill; 06-08-2025 at 02:29 PM.
dunhill is offline   Reply With Quote
Old Yesterday, 06:48 PM   #1963
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,239
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
Get Metadata from an AI Source (Shown on Reddit)

Found this post on reddit, and it seems like someone has managed to create a plugin that passes an argument to an AI source to get very fast metadata information for books.

Someone please check out this post and see if it can be made into a proper plugin?

https://www.reddit.com/r/Calibre/com...mment/mwt76c6/
Rellwood is offline   Reply With Quote
Old Yesterday, 06:54 PM   #1964
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: 45,439
Karma: 168808777
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Rellwood View Post
Found this post on reddit, and it seems like someone has managed to create a plugin that passes an argument to an AI source to get very fast metadata information for books.

Someone please check out this post and see if it can be made into a proper plugin?

https://www.reddit.com/r/Calibre/com...mment/mwt76c6/
Perhaps you might want to look at the thread in this forum created by the author of the Reddit item you linked? Might be easier than asking someone else to re-invent the wheel. See @mitsie's A.I Metadata Plugin thread which at the time I'm writing this message is the second message from the top.
DNSB is offline   Reply With Quote
Reply

Tags
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-505 Any ideas what this might be? Neupy Sony Reader 4 07-03-2012 07:19 AM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
Ideas? mike_bike_kite Which one should I buy? 10 06-13-2010 03:37 PM
Ideas F1Wild Amazon Kindle 4 07-10-2009 06:01 AM


All times are GMT -4. The time now is 11:01 PM.


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