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:
1 parent
c0687ef8b1
commit
db31bd4b96
3 files changed
+5
-4
No files matched your search
@@ -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