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 03-20-2025, 10:34 AM   #1
memory_dump
Junior Member
memory_dump began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Moon+ Reader
Question [Metadata Source Plugin] Show multiple results for single source?

I'm writing a plugin to download book info from DriveThruRPG. It's working very well, but one thing that's confusing me is how to get it to show multiple search results to pick from?

I can confirm that multiple Metadata items are being added to the result_queue, but the "Downloading metadata..." window only ever shows 1 item to pick from. What could I be doing wrong?
memory_dump is offline   Reply With Quote
Old 03-20-2025, 10:36 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's how downloading metadata works by default you can change it via Preferences->metadata download->keep more than one result per source
kovidgoyal is offline   Reply With Quote
Old 03-20-2025, 10:56 AM   #3
memory_dump
Junior Member
memory_dump began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Moon+ Reader
Ok, that's definitely it. I could have sworn I was seeing multiple results from the Goodreads plugin when "Keep more than one result per source" was unchecked, but now I can't reproduce that. Must have been late-night coding hallucinations.

Thank you! Also thank you for Calibre in general.
memory_dump is offline   Reply With Quote
Old 05-05-2025, 08:23 PM   #4
Mela
Junior Member
Mela began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite, Onyx Boox Air 3C
If you need Beta testers: PICK ME. PICK ME.
Mela is offline   Reply With Quote
Old 05-05-2025, 09:13 PM   #5
memory_dump
Junior Member
memory_dump began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2025
Device: Moon+ Reader
Unhappy

Quote:
Originally Posted by Mela View Post
If you need Beta testers: PICK ME. PICK ME.
Sure. As soon as I get it working again. It was working great for a while, and then about a week or so ago I started getting blocked by Cloudflare challenge.
memory_dump is offline   Reply With Quote
Old 05-06-2025, 08:14 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,398
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by memory_dump View Post
Sure. As soon as I get it working again. It was working great for a while, and then about a week or so ago I started getting blocked by Cloudflare challenge.
Have a look at the code for the Kobo Metadata plugin. It has to get past Cloudflare and does it pretty well.

https://www.mobileread.com/forums/sh...d.php?t=355983
JSWolf is offline   Reply With Quote
Old 06-03-2025, 01:03 AM   #7
bhcompy
Junior Member
bhcompy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2025
Device: android
Quote:
Originally Posted by memory_dump View Post
Sure. As soon as I get it working again. It was working great for a while, and then about a week or so ago I started getting blocked by Cloudflare challenge.
any luck?
bhcompy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Amazon.com Multiple Countries eschwartz Plugins 16 05-12-2025 01:40 PM
[Metadata Source Plugin] Martinus.sk (sk) plazma Plugins 36 01-21-2024 07:15 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
[Metadata Source Plugin] ADLIBRIS (SE) Pr.BarnArt Plugins 49 01-11-2021 03:45 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 08:01 AM.


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