Metadata wrong for books from gui.download_ebook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This seems to be a similar bug from the ones I previously reported, related to my ACSM-to-
- Metadata wrong for auto-added books ( https:/
- Metadata wrong for books added through the web server ( https:/
Metadata is also wrong for ACSM files added to Calibre through Calibre's "download_ebook" function.
When a GUI plugin executes the following code ...
(this link should be permanently valid and leads to a Public Domain eBook, so no issue there)
self.gui.
Calibre does download the ACSM file for the book, does add it to Calibre properly going through all the plugins normally running upon book import, but again just like in the other two bug reports uses the metadata extracted from the ACSM (Title "URLLink" instead of the book's title) instead of the metadata from the final book file.
Can a similar fix you made for bugs 1945889 and 1992244 be made for this API / method as well?
This bug has been tested with Calibre 6.21, both on Linux and on MacOS. If necessary, I can attach a log file.
A note that may be helpful: If DeDRM plugin is enabled, metadata _does_ import properly, at least when I tested it with the provided link using ACSM Input. At the least, it provides a workaround for users.
from what I understand, DeDRM intercepts the file, checks for DRM (and attempts to remove if neeede), then hands it back to Calibre.