mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
coverbrowser: quicker extraction of EPUB metadata (#3736)
bump crengine: Allow for quicker loading when interested in metadata only. Allow for more than 65535 different attribute values. Increase gamma values range.
This commit is contained in:
@@ -132,9 +132,10 @@ function CreDocument:init()
|
||||
self.info.configurable = true
|
||||
end
|
||||
|
||||
function CreDocument:loadDocument()
|
||||
function CreDocument:loadDocument(full_document)
|
||||
if not self._loaded then
|
||||
if self._document:loadDocument(self.file) then
|
||||
local only_metadata = full_document == false
|
||||
if self._document:loadDocument(self.file, only_metadata) then
|
||||
self._loaded = true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user