View Single Post
Old 08-25-2014, 02:55 PM   #5
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
GUI Plugin API <> Metadata Download Plugin API

ahisham,

It appears to me that you might be trying to mix functions for GUI plugins together with Metadata Download plugins. The Calibre APIs are very different.

Metadata Download plugins use: class calibre.ebooks.metadata.sources.base

GUI plugins use: class calibre.gui2.actions.InterfaceAction

Also, be aware that if you modify standard Calibre software, your modifications will be overwritten the next time you upgrade Calibre to the latest version (which happens every Friday). So, changing "src/calibre/ebooks/metadata/sources/amazon.py" itself is not recommended.


The only help I can give to you is to refer you to: http://manual.calibre-ebook.com/plugins.html .
DaltonST is offline   Reply With Quote