11-10-2019, 07:08 PM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2011
Location: Waterville, NY
Device: Android / iOS
|
[Metadata Source Plugin] Empty Plugin? (Fake Identifier)
Python isn't my native language and I'm having some difficulty stripping down an existing plugin to write my own.
Is there a sample "empty" plugin that I could start with instead? I can't find one if there is. That said, what I want to do is write a plugin that simply returns a fake identifier with the date so that I could do a search for identifers:metadownloaded:false to find books I haven't updated by doing a metadata download. This because, from what I can tell, Metadata Download plugins can't write to custom columns. Thanks in advance! |
11-10-2019, 09:56 PM | #2 |
creator of calibre
Posts: 44,553
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I highly doubt doing this is feasible. Remember that results from multiple plugins are combined and ones that cannot be combined will be ignored unless you actually pick them in the results list (or they are automatically picked during a bulk download).
If you want some way to know that you have done a download for a book, a better option would be to modify calibre to add an option to set a tag after downloading metadata. Or do so manually on all selected books after a download. |
Advert | |
|
11-11-2019, 04:36 PM | #3 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2011
Location: Waterville, NY
Device: Android / iOS
|
I thought I was counting on that combination... If a book matches both at Barnes and Nobles and Amazon doesn't it bring both identifiers in? Or have I misunderstood?
I also assumed that for a non-python programmer that a plugin would be much smaller scale than modifying Calibre itself. |
11-11-2019, 09:07 PM | #4 |
creator of calibre
Posts: 44,553
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Only if the two matches are identified as being for the same logical book.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Livelib.ru | Sarmat | Plugins | 1 | 06-13-2024 07:30 PM |
[Metadata Source Plugin] DatabazeKnih (cz) | baghira | Plugins | 240 | 10-08-2023 06:13 AM |
[Metadata Source Plugin] ADLIBRIS (SE) | Pr.BarnArt | Plugins | 49 | 01-11-2021 04:45 PM |
[Metadata Source Plugin] Pitaval.cz (cz,sk) | Miisha | Plugins | 2 | 01-01-2021 11:48 AM |
[Metadata Source Plugin] AmazonProductAdvertisingAPI | botmtl | Plugins | 1 | 07-30-2017 07:14 AM |