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, 10:22 AM   #1
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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.2.zip (10.2 KB, 709 views)

Last edited by robb0; 01-07-2025 at 06:04 PM. Reason: Point to release history instead of CHANGELOG.md
robb0 is offline   Reply With Quote
Old 11-17-2024, 04:57 PM   #2
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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, 05: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: 760
Karma: 10730860
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, 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, 06:36 AM   #4
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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, 08: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: 760
Karma: 10730860
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, 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, 05:05 PM   #6
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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 05:31 PM.
robb0 is offline   Reply With Quote
Old 01-06-2025, 05:27 PM   #7
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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 05:29 PM. Reason: add release url
robb0 is offline   Reply With Quote
Old 01-07-2025, 06:02 PM   #8
robb0
Junior Member
robb0 began at the beginning.
 
Posts: 7
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
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 167 01-13-2025 04:13 AM
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? eryMpexI Library Management 6 04-22-2023 09:58 AM
Read a book's metadata in a Metadata source plugin? J-H Development 2 03-30-2021 10:08 AM
[Metadata Source Plugin] Mofibo.dk mickkn Plugins 0 12-15-2020 04:46 PM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM


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


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