Yes, I have seen them and got the basics, thanks. Let me clarify my question. I do the search and get the results, but there are no direct download links. Instead I have to decode data myself to retrieve a book file.
- I have to do the downloading in the open() method of my plugin because there is no way to provide a customized method to download a book. Right?
- After I unpack a book file and have it in temporary location, how do I add it to Calibre database? I could use a system call to use Calibre CLI to do it, I think, but I hope there is an API function for this.
- Finally, can I use Calibre API in my plugin to read metadata from that file prior to adding it to Calibre? I need to check that it is actually the book that was asked for, because the result really could be wrong.