Found some that were not too old that gave me some further insight. This is my guess how the process is intended to work:
- Implement method identify() from class Source:
Code:
identify(self, log, result_queue, abort, title=None, authors=None,
identifiers={}, timeout=30)
- Use search parameters passed by identify() like title, authors and identifiers.
Code:
result = search (title, authors, identifiers)
- Possibly save cover url for future use by download_cover()
Code:
self.save_cover_url = result.cover_url
- Return result using result_queue.put(Metadata)
Code:
md = Metadata(result.title, result.authors)
result_queue.put(md)
Any thoughts?