03-24-2021, 10:33 AM | #1 |
Evangelist
Posts: 413
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Some quesitons about calibre code
I use some part of the calibre code like these:
- update MOBI book's EXTH header to change ASIN: https://github.com/xxyzz/WordDumb/bl...etadata.py#L54 - get HTML bytes of MOBI book: https://github.com/xxyzz/WordDumb/bl...rse_job.py#L58 - send book to device: https://github.com/xxyzz/WordDumb/bl...nd_file.py#L19 - get certain MOBI header: https://github.com/xxyzz/WordDumb/bl...tadata.py#L118 Is there any equivalent handy APIs already exist in calibre? If not, I'd like to send a few pull requests to add them. Last edited by xxyzz; 03-24-2021 at 10:46 AM. |
03-24-2021, 11:12 AM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No I dont think there are. I dont generally like to keep code around that I dont use, as it tends to bitrot. If you do want to add it to calibre then make sure you add tests for it as well.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre downloading error code 2203 | dutchpete | Calibre | 3 | 08-29-2012 07:24 AM |
Kindle 2 vs Sony Touch PRS-600... help/opinions/quesitons | ab10 | Which one should I buy? | 6 | 03-25-2010 05:12 AM |
Regarding Calibre source code compiling | shivas | Introduce Yourself | 4 | 12-23-2009 09:52 AM |
Help with Error code from Calibre that I can't decifer | hefrench | Calibre | 1 | 10-09-2009 12:01 PM |