Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2024, 09:22 AM   #1
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
[Metadata Source Plugin] Hardcover

Grabs metadata from Hardcover

This was originally created to support another project I have, linking Calibre-Web, Kobo and Hardcover

NOTE: Requires a Hardcover account and API Key configuring in settings before use. This can be copied from here after logging in

Main Features
  • Can retrieve title, author, comments, publisher, publication date, series, ratings and tags.
  • Fetches the cover image from hardcover.
  • The identifier used is "hardcover". It will show in the details as "Hardcover".
  • Another identifier "hardcover-edition" is also set to identify the edition that has been used under a book
  • Attempts to search by identifiers before doing a freetext search (see here for examples)
    1. hardcover-edition
    2. hardcover (slug e.g. the-hobbit)
    3. isbn / mobi-asin

Installation Notes:
  • Download the attached zip file and install the plugin as described in the Introduction to plugins thread.
  • Note that this is not a GUI plugin so it is not intended/cannot be added to context menus/toolbars etc.

Source Code
The plugin code is open source and available on GitHub

Version History
See Releases
Attached Files
File Type: zip hardcover-0.2.3.zip (10.5 KB, 1281 views)

Last edited by robb0; 06-26-2025 at 10:58 AM. Reason: Point to release history instead of CHANGELOG.md
robb0 is offline   Reply With Quote
Old 11-17-2024, 03:57 PM   #2
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
New Version: 0.1.0

New Features
  • add ratings from hardcover to metadata
robb0 is offline   Reply With Quote
Advert
Old 11-17-2024, 04:18 PM   #3
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 835
Karma: 11003000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, Boox Note Air 2+
Did hardcover get better with their metadata? A few months ago it was so bad and even as a patron it was often not possible to fix it manually.
rantanplan is offline   Reply With Quote
Old 11-18-2024, 05:36 AM   #4
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
I haven't really seen many problems with the metadata - there are some duplicate entries which I've been marking as such when I find them, but the metadata for books that have been filled in seems fine

What were the problems you saw out of interest?
robb0 is offline   Reply With Quote
Old 11-18-2024, 07:34 AM   #5
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 835
Karma: 11003000
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, Boox Note Air 2+
Multiple editions of the same book are identified as a separate book, you cannot have a n:1 assignment where books are split in some editions, e.g. Stormlight Archive released as one or two books, same with A Song of Ice and Fire releases. Or books that don't match their ISBN.
rantanplan is offline   Reply With Quote
Advert
Old 01-06-2025, 04:05 PM   #6
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
hardcover-0.2.0 - 2025-01-06

Added
  • Add configurable match sensitivity to allow for finetuning of title+author queries
Changed
  • Switch to jaro-winkler distance checks for better results
  • Optimise hardcover queries and datamapping
  • Move graphql code into a separate lib + handle module names in bundling
Github Release

Last edited by robb0; 01-06-2025 at 04:31 PM.
robb0 is offline   Reply With Quote
Old 01-06-2025, 04:27 PM   #7
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
hardcover-0.2.1 - 2025-01-06

Fixed
  • Calibre plugins site not able to parse the plugin zip
Github Release

Last edited by robb0; 01-06-2025 at 04:29 PM. Reason: add release url
robb0 is offline   Reply With Quote
Old 01-07-2025, 05:02 PM   #8
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
hardcover-0.2.2 - 2025-01-07

Fixed
  • Allow tests to run without stubbing out calibre stuff
  • Restructure file to allow calibre plugins site to parse

it should actually work this time... I goofed up in 0.2.1 and didn't test my latest changes

Github Release
robb0 is offline   Reply With Quote
Old 06-21-2025, 07:58 PM   #9
McStubb
Connoisseur
McStubb began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2014
Device: None
Has anyone tried this recently? I cant get it to return anything. I copied the key from my profile and its failing to find anything.
McStubb is offline   Reply With Quote
Old 06-26-2025, 10:52 AM   #10
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
Quote:
Originally Posted by McStubb View Post
Has anyone tried this recently? I cant get it to return anything. I copied the key from my profile and its failing to find anything.
Apologies for the delay, I don't seem to get notifications here I'm pushing a fix now
EDIT: hopefully fixed my notifications now
robb0 is offline   Reply With Quote
Old 06-26-2025, 10:58 AM   #11
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
hardcover-0.2.3 - 2025-06-26

Changed
  • Use fragments for common elements in graphql queries

Removed
  • Remove unused reference to edition description

GitHub Release
robb0 is offline   Reply With Quote
Old 07-10-2025, 08:30 AM   #12
mpbotti
Junior Member
mpbotti began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2013
Device: none
Hi robb0, I would love the hardcover plugin have same features than goodreads sync plugin. I know you have been thinking on this recently, but I'm not sure 'bout your final decision...
Could you confirm if you plan to add more functionalities to this plugin?
Regards, M.
mpbotti is offline   Reply With Quote
Old 07-10-2025, 09:29 AM   #13
robb0
Member
robb0 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2024
Location: United Kingdom
Device: Kobo Libra Colour
Quote:
Originally Posted by mpbotti View Post
Hi robb0, I would love the hardcover plugin have same features than goodreads sync plugin. I know you have been thinking on this recently, but I'm not sure 'bout your final decision...
Could you confirm if you plan to add more functionalities to this plugin?
Regards, M.
Yeah I was looking into one, but it won't be in this plugin - would be a separate one entirely, as this one is specifically a metadata provider (and not everyone would necessarily want a sync plugin)
robb0 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Kobo Metadata NotSimone Plugins 176 05-12-2025 04:00 PM
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? eryMpexI Library Management 6 04-22-2023 08:58 AM
Read a book's metadata in a Metadata source plugin? J-H Development 2 03-30-2021 09:08 AM
[Metadata Source Plugin] Mofibo.dk mickkn Plugins 0 12-15-2020 03:46 PM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 08:07 PM


All times are GMT -4. The time now is 10:17 AM.


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