View Single Post
Old 04-16-2011, 08:51 AM   #69
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,461
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's no social metadata anymore. The identify method should return all fields the source knows about. You can default disable fields by overriding the __init__ method in your plugin like this

Code:
def __init__(self, *args, **kwargs):
   SourcePlugin.__init__(self, *args, **kwargs)
   self.prefs.defaults['ignore_fields'] =[list of fields from touched_fields]
Though I would suggest using threading to make the detailed queries, see the Amazon plugin for an example.
kovidgoyal is offline   Reply With Quote