![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jun 2011
Location: Waterville, NY
Device: Android / iOS
|
![]()
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! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,217
Karma: 23446406
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 | |
|
![]() |
#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. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,217
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Only if the two matches are identified as being for the same logical book.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Livelib.ru | Sarmat | Plugins | 1 | 06-13-2024 06:30 PM |
[Metadata Source Plugin] DatabazeKnih (cz) | baghira | Plugins | 240 | 10-08-2023 05:13 AM |
[Metadata Source Plugin] ADLIBRIS (SE) | Pr.BarnArt | Plugins | 49 | 01-11-2021 03:45 PM |
[Metadata Source Plugin] Pitaval.cz (cz,sk) | Miisha | Plugins | 2 | 01-01-2021 10:48 AM |
[Metadata Source Plugin] AmazonProductAdvertisingAPI | botmtl | Plugins | 1 | 07-30-2017 06:14 AM |