mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Filesearcher: add search in book metadata (#10198)
This commit is contained in:
@@ -668,4 +668,15 @@ function CoverBrowser:setupCollectionDisplayMode(display_mode)
|
||||
end
|
||||
end
|
||||
|
||||
function CoverBrowser:getBookInfo(file)
|
||||
return BookInfoManager:getBookInfo(file)
|
||||
end
|
||||
|
||||
function CoverBrowser:extractBooksInDirectory(path)
|
||||
local Trapper = require("ui/trapper")
|
||||
Trapper:wrap(function()
|
||||
BookInfoManager:extractBooksInDirectory(path)
|
||||
end)
|
||||
end
|
||||
|
||||
return CoverBrowser
|
||||
|
||||
Reference in New Issue
Block a user