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 11-10-2019, 07:08 PM   #1
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2011
Location: Waterville, NY
Device: Android / iOS
Question [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!
mneimeyer is offline   Reply With Quote
Old 11-10-2019, 09:56 PM   #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: 44,565
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-11-2019, 04:36 PM   #3
mneimeyer
Member
mneimeyer began at the beginning.
 
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.
mneimeyer is offline   Reply With Quote
Old 11-11-2019, 09:07 PM   #4
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: 44,565
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.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:18 PM.


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