View Single Post
Old 08-23-2012, 05:45 PM   #1
charlweed
Enthusiast
charlweed began at the beginning.
 
Posts: 27
Karma: 30
Join Date: Jul 2011
Device: none
How to access a books series index from within Source.identify?

I'm trying to write my first plugin, and learn Python for the first time. I'm a Java programmer. My plugin will "download" metadata, so I'm subclassing "Source" and overriding "identify"

My plugin will need the series index of each book, but I do not know where the value is. It doe not seem to be in any of the arguments passed to identify, and my attempt to use the identifiers argument is hopeless:
Code:
    def identify(self, log, result_queue, abort, title=None, authors=None, identifiers=['series'], timeout=30):
#no luck here
        return None
Thanks for any help!
charlweed is offline   Reply With Quote