|
|
Thread Tools | Search this Thread |
04-21-2023, 08:32 AM | #1 | ||
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: PDF reader on Windows
|
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata?
Hello everybody,
I'm running fetch-ebook-metadata from Shell: Code:
fetch-ebook-metadata --isbn="${ISBN}" --opf 2>/dev/null Quote:
The forum says: Quote:
What's the best approach to troubleshoot this? Ideally, I would configure the Shell script to restrict the run to one plugin each time using --allowed-plugin, see what result I get, and only use a different source if the request fails, but it's not something I can code right now. So, I wonder how to know this |
||
04-21-2023, 09:01 AM | #2 |
creator of calibre
Posts: 44,515
Karma: 24495784
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the --verbose option and examine the log
|
Advert | |
|
04-22-2023, 07:24 AM | #3 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: PDF reader on Windows
|
Thanks.
Follow up question: Is there a way to silence errors and get only the metadata? The utility outputs failures like so, until it finds a valid source: Quote:
Thank you |
|
04-22-2023, 09:52 AM | #4 |
creator of calibre
Posts: 44,515
Karma: 24495784
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
redirect stderr to /dev/null
|
04-22-2023, 09:55 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: PDF reader on Windows
|
|
Advert | |
|
04-22-2023, 09:56 AM | #6 |
creator of calibre
Posts: 44,515
Karma: 24495784
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
| grep -v '^Failed'
|
04-22-2023, 09:58 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: PDF reader on Windows
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] INMONDADORI | Pr.BarnArt | Plugins | 7 | 12-03-2021 01:56 PM |
Read a book's metadata in a Metadata source plugin? | J-H | Development | 2 | 03-30-2021 10:08 AM |
[Metadata Source Plugin] Pitaval.cz (cz,sk) | Miisha | Plugins | 2 | 01-01-2021 11:48 AM |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 09:07 PM |
Call fetch/download metadata from GUI plugin | BeckyEbook | Development | 0 | 02-03-2017 07:51 PM |